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