public static final class ManifestV3Process.Builder extends Object
ManifestV3Process.
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 |
|---|---|
ManifestV3Process |
build()
Builds a new
ManifestV3Process. |
ManifestV3Process.Builder |
command(String command)
Initializes the value for the
command attribute. |
ManifestV3Process.Builder |
disk(String disk)
Initializes the value for the
disk attribute. |
ManifestV3Process.Builder |
from(ManifestV3Process instance)
Fill a builder with attribute values from the provided
ManifestV3Process instance. |
ManifestV3Process.Builder |
healthCheckHttpEndpoint(String healthCheckHttpEndpoint)
Initializes the value for the
healthCheckHttpEndpoint attribute. |
ManifestV3Process.Builder |
healthCheckInvocationTimeout(Integer healthCheckInvocationTimeout)
Initializes the value for the
healthCheckInvocationTimeout attribute. |
ManifestV3Process.Builder |
healthCheckType(HealthCheckType healthCheckType)
Initializes the value for the
healthCheckType attribute. |
ManifestV3Process.Builder |
instances(Integer instances)
Initializes the value for the
instances attribute. |
ManifestV3Process.Builder |
memory(String memory)
Initializes the value for the
memory attribute. |
ManifestV3Process.Builder |
timeout(Integer timeout)
Initializes the value for the
timeout attribute. |
ManifestV3Process.Builder |
type(String type)
Initializes the value for the
type attribute. |
public final ManifestV3Process.Builder from(ManifestV3Process instance)
ManifestV3Process 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 invocationpublic final ManifestV3Process.Builder command(String command)
command attribute.command - The value for command (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder disk(String disk)
disk attribute.disk - The value for disk (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder healthCheckHttpEndpoint(String healthCheckHttpEndpoint)
healthCheckHttpEndpoint attribute.healthCheckHttpEndpoint - The value for healthCheckHttpEndpoint (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder healthCheckInvocationTimeout(Integer healthCheckInvocationTimeout)
healthCheckInvocationTimeout attribute.healthCheckInvocationTimeout - The value for healthCheckInvocationTimeout (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder healthCheckType(HealthCheckType healthCheckType)
healthCheckType attribute.healthCheckType - The value for healthCheckType (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder instances(Integer instances)
instances attribute.instances - The value for instances (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder memory(String memory)
memory attribute.memory - The value for memory (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder timeout(Integer timeout)
timeout attribute.timeout - The value for timeout (can be null)this builder for use in a chained invocationpublic final ManifestV3Process.Builder type(String type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic ManifestV3Process build()
ManifestV3Process.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.