public static final class EnableServiceAccessRequest.Builder extends Object
EnableServiceAccessRequest.
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 |
|---|---|
EnableServiceAccessRequest |
build()
Builds a new
EnableServiceAccessRequest. |
EnableServiceAccessRequest.Builder |
completionTimeout(Duration completionTimeout)
Initializes the value for the
completionTimeout attribute. |
EnableServiceAccessRequest.Builder |
from(EnableServiceAccessRequest instance)
Fill a builder with attribute values from the provided
EnableServiceAccessRequest instance. |
EnableServiceAccessRequest.Builder |
organizationName(String organizationName)
Initializes the value for the
organizationName attribute. |
EnableServiceAccessRequest.Builder |
serviceName(String serviceName)
Initializes the value for the
serviceName attribute. |
EnableServiceAccessRequest.Builder |
servicePlanName(String servicePlanName)
Initializes the value for the
servicePlanName attribute. |
public final EnableServiceAccessRequest.Builder from(EnableServiceAccessRequest instance)
EnableServiceAccessRequest 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 EnableServiceAccessRequest.Builder completionTimeout(Duration completionTimeout)
completionTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of completionTimeout.
completionTimeout - The value for completionTimeoutthis builder for use in a chained invocationpublic final EnableServiceAccessRequest.Builder organizationName(String organizationName)
organizationName attribute.organizationName - The value for organizationName (can be null)this builder for use in a chained invocationpublic final EnableServiceAccessRequest.Builder serviceName(String serviceName)
serviceName attribute.serviceName - The value for serviceNamethis builder for use in a chained invocationpublic final EnableServiceAccessRequest.Builder servicePlanName(String servicePlanName)
servicePlanName attribute.servicePlanName - The value for servicePlanName (can be null)this builder for use in a chained invocationpublic EnableServiceAccessRequest build()
EnableServiceAccessRequest.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.