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