public static final class PushApplicationRequest.Builder extends Object
PushApplicationRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
PushApplicationRequest.Builder |
application(Path application)
Deprecated.
|
PushApplicationRequest |
build()
Builds a new
PushApplicationRequest. |
PushApplicationRequest.Builder |
buildpack(String buildpack)
Initializes the value for the
buildpack attribute. |
PushApplicationRequest.Builder |
command(String command)
Initializes the value for the
command attribute. |
PushApplicationRequest.Builder |
diskQuota(Integer diskQuota)
Initializes the value for the
diskQuota attribute. |
PushApplicationRequest.Builder |
dockerImage(String dockerImage)
Initializes the value for the
dockerImage attribute. |
PushApplicationRequest.Builder |
dockerPassword(String dockerPassword)
Initializes the value for the
dockerPassword attribute. |
PushApplicationRequest.Builder |
dockerUsername(String dockerUsername)
Initializes the value for the
dockerUsername attribute. |
PushApplicationRequest.Builder |
domain(String domain)
Initializes the value for the
domain attribute. |
PushApplicationRequest.Builder |
from(PushApplicationRequest instance)
Fill a builder with attribute values from the provided
PushApplicationRequest instance. |
PushApplicationRequest.Builder |
healthCheckType(ApplicationHealthCheck healthCheckType)
Initializes the value for the
healthCheckType attribute. |
PushApplicationRequest.Builder |
host(String host)
Initializes the value for the
host attribute. |
PushApplicationRequest.Builder |
instances(Integer instances)
Initializes the value for the
instances attribute. |
PushApplicationRequest.Builder |
memory(Integer memory)
Initializes the value for the
memory attribute. |
PushApplicationRequest.Builder |
name(String name)
Initializes the value for the
name attribute. |
PushApplicationRequest.Builder |
noHostname(Boolean noHostname)
Initializes the value for the
noHostname attribute. |
PushApplicationRequest.Builder |
noRoute(Boolean noRoute)
Initializes the value for the
noRoute attribute. |
PushApplicationRequest.Builder |
noStart(Boolean noStart)
Initializes the value for the
noStart attribute. |
PushApplicationRequest.Builder |
path(Path path)
Initializes the value for the
path attribute. |
PushApplicationRequest.Builder |
randomRoute(Boolean randomRoute)
Initializes the value for the
randomRoute attribute. |
PushApplicationRequest.Builder |
routePath(String routePath)
Initializes the value for the
routePath attribute. |
PushApplicationRequest.Builder |
stack(String stack)
Initializes the value for the
stack attribute. |
PushApplicationRequest.Builder |
stagingTimeout(Duration stagingTimeout)
Initializes the value for the
stagingTimeout attribute. |
PushApplicationRequest.Builder |
startupTimeout(Duration startupTimeout)
Initializes the value for the
startupTimeout attribute. |
PushApplicationRequest.Builder |
timeout(Integer timeout)
Initializes the value for the
timeout attribute. |
public final PushApplicationRequest.Builder from(PushApplicationRequest instance)
PushApplicationRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@Deprecated public final PushApplicationRequest.Builder application(Path application)
application attribute.application - The value for application (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder buildpack(String buildpack)
buildpack attribute.buildpack - The value for buildpack (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder command(String command)
command attribute.command - The value for command (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder diskQuota(Integer diskQuota)
diskQuota attribute.diskQuota - The value for diskQuota (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder dockerImage(String dockerImage)
dockerImage attribute.dockerImage - The value for dockerImage (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder dockerPassword(String dockerPassword)
dockerPassword attribute.dockerPassword - The value for dockerPassword (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder dockerUsername(String dockerUsername)
dockerUsername attribute.dockerUsername - The value for dockerUsername (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder domain(String domain)
domain attribute.domain - The value for domain (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder healthCheckType(ApplicationHealthCheck healthCheckType)
healthCheckType attribute.healthCheckType - The value for healthCheckType (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder host(String host)
host attribute.host - The value for host (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder instances(Integer instances)
instances attribute.instances - The value for instances (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder memory(Integer memory)
memory attribute.memory - The value for memory (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final PushApplicationRequest.Builder noHostname(Boolean noHostname)
noHostname attribute.noHostname - The value for noHostname (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder noRoute(Boolean noRoute)
noRoute attribute.noRoute - The value for noRoute (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder noStart(Boolean noStart)
noStart attribute.noStart - The value for noStart (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder path(Path path)
path attribute.path - The value for path (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder randomRoute(Boolean randomRoute)
randomRoute attribute.randomRoute - The value for randomRoute (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder routePath(String routePath)
routePath attribute.routePath - The value for routePath (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder stack(String stack)
stack attribute.stack - The value for stack (can be null)this builder for use in a chained invocationpublic final PushApplicationRequest.Builder stagingTimeout(Duration stagingTimeout)
stagingTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of stagingTimeout.
stagingTimeout - The value for stagingTimeoutthis builder for use in a chained invocationpublic final PushApplicationRequest.Builder startupTimeout(Duration startupTimeout)
startupTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of startupTimeout.
startupTimeout - The value for startupTimeoutthis builder for use in a chained invocationpublic final PushApplicationRequest.Builder timeout(Integer timeout)
timeout attribute.timeout - The value for timeout (can be null)this builder for use in a chained invocationpublic PushApplicationRequest build()
PushApplicationRequest.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.