public static final class UpdateApplicationRequest.Builder extends Object
UpdateApplicationRequest.
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 |
|---|---|
UpdateApplicationRequest.Builder |
applicationId(String applicationId)
Initializes the value for the
applicationId attribute. |
UpdateApplicationRequest |
build()
Builds a new
UpdateApplicationRequest. |
UpdateApplicationRequest.Builder |
buildpack(String buildpack)
Initializes the value for the
buildpack attribute. |
UpdateApplicationRequest.Builder |
command(String command)
Initializes the value for the
command attribute. |
UpdateApplicationRequest.Builder |
console(Boolean console)
Deprecated.
|
UpdateApplicationRequest.Builder |
debug(String debug)
Deprecated.
|
UpdateApplicationRequest.Builder |
diego(Boolean diego)
Initializes the value for the
diego attribute. |
UpdateApplicationRequest.Builder |
diskQuota(Integer diskQuota)
Initializes the value for the
diskQuota attribute. |
UpdateApplicationRequest.Builder |
dockerCredentialsJson(Map.Entry<String,? extends Object> entry)
Put one entry to the
dockerCredentialsJsons map. |
UpdateApplicationRequest.Builder |
dockerCredentialsJson(String key,
Object value)
Put one entry to the
dockerCredentialsJsons map. |
UpdateApplicationRequest.Builder |
dockerCredentialsJsons(Map<String,? extends Object> dockerCredentialsJsons)
Sets or replaces all mappings from the specified map as entries for the
dockerCredentialsJsons map. |
UpdateApplicationRequest.Builder |
dockerImage(String dockerImage)
Initializes the value for the
dockerImage attribute. |
UpdateApplicationRequest.Builder |
enableSsh(Boolean enableSsh)
Initializes the value for the
enableSsh attribute. |
UpdateApplicationRequest.Builder |
environmentJson(Map.Entry<String,? extends Object> entry)
Put one entry to the
environmentJsons map. |
UpdateApplicationRequest.Builder |
environmentJson(String key,
Object value)
Put one entry to the
environmentJsons map. |
UpdateApplicationRequest.Builder |
environmentJsons(Map<String,? extends Object> environmentJsons)
Sets or replaces all mappings from the specified map as entries for the
environmentJsons map. |
UpdateApplicationRequest.Builder |
from(UpdateApplicationRequest instance)
Fill a builder with attribute values from the provided
UpdateApplicationRequest instance. |
UpdateApplicationRequest.Builder |
healthCheckTimeout(Integer healthCheckTimeout)
Initializes the value for the
healthCheckTimeout attribute. |
UpdateApplicationRequest.Builder |
healthCheckType(String healthCheckType)
Initializes the value for the
healthCheckType attribute. |
UpdateApplicationRequest.Builder |
instances(Integer instances)
Initializes the value for the
instances attribute. |
UpdateApplicationRequest.Builder |
memory(Integer memory)
Initializes the value for the
memory attribute. |
UpdateApplicationRequest.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateApplicationRequest.Builder |
production(String production)
Deprecated.
|
UpdateApplicationRequest.Builder |
putAllDockerCredentialsJsons(Map<String,? extends Object> dockerCredentialsJsons)
Put all mappings from the specified map as entries to
dockerCredentialsJsons map. |
UpdateApplicationRequest.Builder |
putAllEnvironmentJsons(Map<String,? extends Object> environmentJsons)
Put all mappings from the specified map as entries to
environmentJsons map. |
UpdateApplicationRequest.Builder |
spaceId(String spaceId)
Initializes the value for the
spaceId attribute. |
UpdateApplicationRequest.Builder |
stackId(String stackId)
Initializes the value for the
stackId attribute. |
UpdateApplicationRequest.Builder |
state(String state)
Initializes the value for the
state attribute. |
public final UpdateApplicationRequest.Builder from(UpdateApplicationRequest instance)
UpdateApplicationRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder applicationId(String applicationId)
applicationId attribute.applicationId - The value for applicationIdthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder buildpack(String buildpack)
buildpack attribute.buildpack - The value for buildpack (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder command(String command)
command attribute.command - The value for command (can be null)this builder for use in a chained invocation@Deprecated public final UpdateApplicationRequest.Builder console(Boolean console)
console attribute.console - The value for console (can be null)this builder for use in a chained invocation@Deprecated public final UpdateApplicationRequest.Builder debug(String debug)
debug attribute.debug - The value for debug (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder diego(Boolean diego)
diego attribute.diego - The value for diego (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder diskQuota(Integer diskQuota)
diskQuota attribute.diskQuota - The value for diskQuota (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder dockerCredentialsJson(String key, Object value)
dockerCredentialsJsons map.key - The key in the dockerCredentialsJsons mapvalue - The associated value in the dockerCredentialsJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder dockerCredentialsJson(Map.Entry<String,? extends Object> entry)
dockerCredentialsJsons map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder dockerCredentialsJsons(Map<String,? extends Object> dockerCredentialsJsons)
dockerCredentialsJsons map. Nulls are not permitted as keys or values, but parameter itself can be nulldockerCredentialsJsons - The entries that will be added to the dockerCredentialsJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder putAllDockerCredentialsJsons(Map<String,? extends Object> dockerCredentialsJsons)
dockerCredentialsJsons map. Nulls are not permitteddockerCredentialsJsons - The entries that will be added to the dockerCredentialsJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder dockerImage(String dockerImage)
dockerImage attribute.dockerImage - The value for dockerImage (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder enableSsh(Boolean enableSsh)
enableSsh attribute.enableSsh - The value for enableSsh (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder environmentJson(String key, Object value)
environmentJsons map.key - The key in the environmentJsons mapvalue - The associated value in the environmentJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder environmentJson(Map.Entry<String,? extends Object> entry)
environmentJsons map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder environmentJsons(Map<String,? extends Object> environmentJsons)
environmentJsons map. Nulls are not permitted as keys or values, but parameter itself can be nullenvironmentJsons - The entries that will be added to the environmentJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder putAllEnvironmentJsons(Map<String,? extends Object> environmentJsons)
environmentJsons map. Nulls are not permittedenvironmentJsons - The entries that will be added to the environmentJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder healthCheckTimeout(Integer healthCheckTimeout)
healthCheckTimeout attribute.healthCheckTimeout - The value for healthCheckTimeout (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder healthCheckType(String healthCheckType)
healthCheckType attribute.healthCheckType - The value for healthCheckType (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder instances(Integer instances)
instances attribute.instances - The value for instances (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder memory(Integer memory)
memory attribute.memory - The value for memory (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocation@Deprecated public final UpdateApplicationRequest.Builder production(String production)
production attribute.production - The value for production (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder spaceId(String spaceId)
spaceId attribute.spaceId - The value for spaceId (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder stackId(String stackId)
stackId attribute.stackId - The value for stackId (can be null)this builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder state(String state)
state attribute.state - The value for state (can be null)this builder for use in a chained invocationpublic UpdateApplicationRequest build()
UpdateApplicationRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.