public static final class RestageApplicationEntity.Builder extends Object
RestageApplicationEntity.
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 RestageApplicationEntity.Builder from(RestageApplicationEntity instance)
RestageApplicationEntity instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder from(org.cloudfoundry.client.v2.applications._RestageApplicationEntity instance)
_RestageApplicationEntity instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder from(AbstractApplicationEntity instance)
org.cloudfoundry.client.v2.applications.AbstractApplicationEntity instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder buildpack(String buildpack)
buildpack attribute.buildpack - The value for buildpack (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.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 RestageApplicationEntity.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 RestageApplicationEntity.Builder debug(String debug)
debug attribute.debug - The value for debug (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder detectedStartCommand(String detectedStartCommand)
detectedStartCommand attribute.detectedStartCommand - The value for detectedStartCommand (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder diego(Boolean diego)
diego attribute.diego - The value for diego (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder diskQuota(Integer diskQuota)
diskQuota attribute.diskQuota - The value for diskQuota (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder dockerCredentials(DockerCredentials dockerCredentials)
dockerCredentials attribute.dockerCredentials - The value for dockerCredentials (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder dockerImage(String dockerImage)
dockerImage attribute.dockerImage - The value for dockerImage (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.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 RestageApplicationEntity.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 RestageApplicationEntity.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 RestageApplicationEntity.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 RestageApplicationEntity.Builder healthCheckHttpEndpoint(String healthCheckHttpEndpoint)
healthCheckHttpEndpoint attribute.healthCheckHttpEndpoint - The value for healthCheckHttpEndpoint (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder healthCheckTimeout(Integer healthCheckTimeout)
healthCheckTimeout attribute.healthCheckTimeout - The value for healthCheckTimeout (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder healthCheckType(String healthCheckType)
healthCheckType attribute.healthCheckType - The value for healthCheckType (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder instances(Integer instances)
instances attribute.instances - The value for instances (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder memory(Integer memory)
memory attribute.memory - The value for memory (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.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 RestageApplicationEntity.Builder production(Boolean production)
production attribute.production - The value for production (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder spaceId(String spaceId)
spaceId attribute.spaceId - The value for spaceId (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder stackId(String stackId)
stackId attribute.stackId - The value for stackId (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder stagingFailedDescription(String stagingFailedDescription)
stagingFailedDescription attribute.stagingFailedDescription - The value for stagingFailedDescription (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder stagingFailedReason(String stagingFailedReason)
stagingFailedReason attribute.stagingFailedReason - The value for stagingFailedReason (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder stagingTaskId(String stagingTaskId)
stagingTaskId attribute.stagingTaskId - The value for stagingTaskId (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder state(String state)
state attribute.state - The value for state (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder detectedBuildpack(String detectedBuildpack)
detectedBuildpack attribute.detectedBuildpack - The value for detectedBuildpack (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder detectedBuildpackId(String detectedBuildpackId)
detectedBuildpackId attribute.detectedBuildpackId - The value for detectedBuildpackId (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder enableSsh(Boolean enableSsh)
enableSsh attribute.enableSsh - The value for enableSsh (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder packageState(String packageState)
packageState attribute.packageState - The value for packageState (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder packageUpdatedAt(String packageUpdatedAt)
packageUpdatedAt attribute.packageUpdatedAt - The value for packageUpdatedAt (can be null)this builder for use in a chained invocationpublic final RestageApplicationEntity.Builder port(int element)
ports list.element - A ports elementthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder ports(int... elements)
ports list.elements - An array of ports elementsthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder ports(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder addAllPorts(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis builder for use in a chained invocationpublic final RestageApplicationEntity.Builder version(String version)
version attribute.version - The value for version (can be null)this builder for use in a chained invocationpublic RestageApplicationEntity build()
RestageApplicationEntity.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.