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