public static final class ManifestV3Application.Builder extends org.cloudfoundry.operations.applications._ManifestV3Application.Builder
ManifestV3Application.
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 ManifestV3Application.Builder from(org.cloudfoundry.operations.applications._ApplicationManifestCommon instance)
org.cloudfoundry.operations.applications._ApplicationManifestCommon instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ManifestV3Application.Builder from(ManifestV3Application instance)
ManifestV3Application instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ManifestV3Application.Builder from(org.cloudfoundry.operations.applications._ManifestV3Application instance)
_ManifestV3Application instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ManifestV3Application.Builder buildpack(String element)
buildpacks list.element - A buildpacks elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder buildpacks(String... elements)
buildpacks list.elements - An array of buildpacks elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder buildpacks(Iterable<String> elements)
buildpacks list.elements - An iterable of buildpacks elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllBuildpacks(Iterable<String> elements)
buildpacks list.elements - An iterable of buildpacks elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder command(String command)
command attribute.command - The value for command (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder disk(Integer disk)
disk attribute.disk - The value for disk (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder docker(Docker docker)
docker attribute.docker - The value for docker (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder domain(String element)
domains list.element - A domains elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder domains(String... elements)
domains list.elements - An array of domains elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder domains(Iterable<String> elements)
domains list.elements - An iterable of domains elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllDomains(Iterable<String> elements)
domains list.elements - An iterable of domains elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder environmentVariable(String key, Object value)
environmentVariables map.key - The key in the environmentVariables mapvalue - The associated value in the environmentVariables mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder environmentVariable(Map.Entry<String,? extends Object> entry)
environmentVariables map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ManifestV3Application.Builder environmentVariables(Map<String,? extends Object> entries)
environmentVariables map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the environmentVariables mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder putAllEnvironmentVariables(Map<String,? extends Object> entries)
environmentVariables map. Nulls are not permittedentries - The entries that will be added to the environmentVariables mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder healthCheckHttpEndpoint(String healthCheckHttpEndpoint)
healthCheckHttpEndpoint attribute.healthCheckHttpEndpoint - The value for healthCheckHttpEndpoint (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder healthCheckType(ApplicationHealthCheck healthCheckType)
healthCheckType attribute.healthCheckType - The value for healthCheckType (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder host(String element)
hosts list.element - A hosts elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder hosts(String... elements)
hosts list.elements - An array of hosts elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder hosts(Iterable<String> elements)
hosts list.elements - An iterable of hosts elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllHosts(Iterable<String> elements)
hosts list.elements - An iterable of hosts elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder instances(Integer instances)
instances attribute.instances - The value for instances (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder memory(Integer memory)
memory attribute.memory - The value for memory (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final ManifestV3Application.Builder noHostname(Boolean noHostname)
noHostname attribute.noHostname - The value for noHostname (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder noRoute(Boolean noRoute)
noRoute attribute.noRoute - The value for noRoute (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder path(Path path)
path attribute.path - The value for path (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder randomRoute(Boolean randomRoute)
randomRoute attribute.randomRoute - The value for randomRoute (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder routePath(String routePath)
routePath attribute.routePath - The value for routePath (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder route(Route element)
routes list.element - A routes elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder routes(Route... elements)
routes list.elements - An array of routes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder routes(Iterable<? extends Route> elements)
routes list.elements - An iterable of routes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllRoutes(Iterable<? extends Route> elements)
routes list.elements - An iterable of routes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder stack(String stack)
stack attribute.stack - The value for stack (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder timeout(Integer timeout)
timeout attribute.timeout - The value for timeout (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder annotation(String key, String value)
annotations map.key - The key in the annotations mapvalue - The associated value in the annotations mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder annotation(Map.Entry<String,? extends String> entry)
annotations map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ManifestV3Application.Builder annotations(Map<String,? extends String> entries)
annotations map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the annotations mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder putAllAnnotations(Map<String,? extends String> entries)
annotations map. Nulls are not permittedentries - The entries that will be added to the annotations mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder defaultRoute(Boolean defaultRoute)
defaultRoute attribute.defaultRoute - The value for defaultRoute (can be null)this builder for use in a chained invocationpublic final ManifestV3Application.Builder label(String key, String value)
labels map.key - The key in the labels mapvalue - The associated value in the labels mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder label(Map.Entry<String,? extends String> entry)
labels map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ManifestV3Application.Builder labels(Map<String,? extends String> entries)
labels map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the labels mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder putAllLabels(Map<String,? extends String> entries)
labels map. Nulls are not permittedentries - The entries that will be added to the labels mapthis builder for use in a chained invocationpublic final ManifestV3Application.Builder processe(ManifestV3Process element)
processes list.element - A processes elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder processes(ManifestV3Process... elements)
processes list.elements - An array of processes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder processes(Iterable<? extends ManifestV3Process> elements)
processes list.elements - An iterable of processes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllProcesses(Iterable<? extends ManifestV3Process> elements)
processes list.elements - An iterable of processes elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder service(ManifestV3Service element)
services list.element - A services elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder services(ManifestV3Service... elements)
services list.elements - An array of services elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder services(Iterable<? extends ManifestV3Service> elements)
services list.elements - An iterable of services elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllServices(Iterable<? extends ManifestV3Service> elements)
services list.elements - An iterable of services elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder sidecar(ManifestV3Sidecar element)
sidecars list.element - A sidecars elementthis builder for use in a chained invocationpublic final ManifestV3Application.Builder sidecars(ManifestV3Sidecar... elements)
sidecars list.elements - An array of sidecars elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder sidecars(Iterable<? extends ManifestV3Sidecar> elements)
sidecars list.elements - An iterable of sidecars elementsthis builder for use in a chained invocationpublic final ManifestV3Application.Builder addAllSidecars(Iterable<? extends ManifestV3Sidecar> elements)
sidecars list.elements - An iterable of sidecars elementsthis builder for use in a chained invocationpublic ManifestV3Application build()
ManifestV3Application.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.