public static final class UpdateProcessRequest.Builder extends Object
UpdateProcessRequest.
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 |
|---|---|
UpdateProcessRequest |
build()
Builds a new
UpdateProcessRequest. |
UpdateProcessRequest.Builder |
command(String command)
Initializes the value for the
command attribute. |
UpdateProcessRequest.Builder |
from(UpdateProcessRequest instance)
Fill a builder with attribute values from the provided
UpdateProcessRequest instance. |
UpdateProcessRequest.Builder |
healthCheck(HealthCheck healthCheck)
Initializes the value for the
healthCheck attribute. |
UpdateProcessRequest.Builder |
processId(String processId)
Initializes the value for the
processId attribute. |
public final UpdateProcessRequest.Builder from(UpdateProcessRequest instance)
UpdateProcessRequest 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 UpdateProcessRequest.Builder command(String command)
command attribute.command - The value for command (can be null)this builder for use in a chained invocationpublic final UpdateProcessRequest.Builder healthCheck(HealthCheck healthCheck)
healthCheck attribute.healthCheck - The value for healthCheck (can be null)this builder for use in a chained invocationpublic final UpdateProcessRequest.Builder processId(String processId)
processId attribute.processId - The value for processIdthis builder for use in a chained invocationpublic UpdateProcessRequest build()
UpdateProcessRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.