public static final class UpdateServiceInstanceResponse.Builder extends Object
UpdateServiceInstanceResponse.
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 |
|---|---|
UpdateServiceInstanceResponse |
build()
Builds a new
UpdateServiceInstanceResponse. |
UpdateServiceInstanceResponse.Builder |
from(UpdateServiceInstanceResponse instance)
Fill a builder with attribute values from the provided
UpdateServiceInstanceResponse instance. |
UpdateServiceInstanceResponse.Builder |
jobId(Optional<String> jobId)
Initializes the optional value
jobId to jobId. |
UpdateServiceInstanceResponse.Builder |
jobId(String jobId)
Initializes the optional value
jobId to jobId. |
UpdateServiceInstanceResponse.Builder |
serviceInstance(Optional<? extends ServiceInstanceResource> serviceInstance)
Initializes the optional value
serviceInstance to serviceInstance. |
UpdateServiceInstanceResponse.Builder |
serviceInstance(ServiceInstanceResource serviceInstance)
Initializes the optional value
serviceInstance to serviceInstance. |
public final UpdateServiceInstanceResponse.Builder from(UpdateServiceInstanceResponse instance)
UpdateServiceInstanceResponse 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 UpdateServiceInstanceResponse.Builder jobId(String jobId)
jobId to jobId.jobId - The value for jobIdthis builder for chained invocationpublic final UpdateServiceInstanceResponse.Builder jobId(Optional<String> jobId)
jobId to jobId.jobId - The value for jobIdthis builder for use in a chained invocationpublic final UpdateServiceInstanceResponse.Builder serviceInstance(ServiceInstanceResource serviceInstance)
serviceInstance to serviceInstance.serviceInstance - The value for serviceInstancethis builder for chained invocationpublic final UpdateServiceInstanceResponse.Builder serviceInstance(Optional<? extends ServiceInstanceResource> serviceInstance)
serviceInstance to serviceInstance.serviceInstance - The value for serviceInstancethis builder for use in a chained invocationpublic UpdateServiceInstanceResponse build()
UpdateServiceInstanceResponse.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.