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.
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 dockerCredentials(DockerCredentials dockerCredentials)
dockerCredentials attribute.dockerCredentials - The value for dockerCredentials (can be null)this 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> entries)
environmentJsons map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - 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> entries)
environmentJsons map. Nulls are not permittedentries - The entries that will be added to the environmentJsons mapthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder healthCheckHttpEndpoint(String healthCheckHttpEndpoint)
healthCheckHttpEndpoint attribute.healthCheckHttpEndpoint - The value for healthCheckHttpEndpoint (can be null)this 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 invocationpublic final UpdateApplicationRequest.Builder port(int element)
ports list.element - A ports elementthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder ports(int... elements)
ports list.elements - An array of ports elementsthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder ports(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis builder for use in a chained invocationpublic final UpdateApplicationRequest.Builder addAllPorts(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis 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 © 2020. All rights reserved.