public static final class UpdateUserProvidedServiceInstanceRequest.Builder extends Object
UpdateUserProvidedServiceInstanceRequest
.
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 |
---|---|
UpdateUserProvidedServiceInstanceRequest |
build()
Builds a new
UpdateUserProvidedServiceInstanceRequest . |
UpdateUserProvidedServiceInstanceRequest.Builder |
credential(Map.Entry<String,? extends Object> entry)
Put one entry to the
credentials map. |
UpdateUserProvidedServiceInstanceRequest.Builder |
credential(String key,
Object value)
Put one entry to the
credentials map. |
UpdateUserProvidedServiceInstanceRequest.Builder |
credentials(Map<String,? extends Object> credentials)
Sets or replaces all mappings from the specified map as entries for the
credentials map. |
UpdateUserProvidedServiceInstanceRequest.Builder |
from(UpdateUserProvidedServiceInstanceRequest instance)
Fill a builder with attribute values from the provided
UpdateUserProvidedServiceInstanceRequest instance. |
UpdateUserProvidedServiceInstanceRequest.Builder |
putAllCredentials(Map<String,? extends Object> credentials)
Put all mappings from the specified map as entries to
credentials map. |
UpdateUserProvidedServiceInstanceRequest.Builder |
syslogDrainUrl(String syslogDrainUrl)
Initializes the value for the
syslogDrainUrl attribute. |
UpdateUserProvidedServiceInstanceRequest.Builder |
userProvidedServiceInstanceName(String userProvidedServiceInstanceName)
Initializes the value for the
userProvidedServiceInstanceName attribute. |
public final UpdateUserProvidedServiceInstanceRequest.Builder from(UpdateUserProvidedServiceInstanceRequest instance)
UpdateUserProvidedServiceInstanceRequest
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder credential(String key, Object value)
credentials
map.key
- The key in the credentials mapvalue
- The associated value in the credentials mapthis
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder credential(Map.Entry<String,? extends Object> entry)
credentials
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder credentials(Map<String,? extends Object> credentials)
credentials
map. Nulls are not permitted as keys or values, but parameter itself can be nullcredentials
- The entries that will be added to the credentials mapthis
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder putAllCredentials(Map<String,? extends Object> credentials)
credentials
map. Nulls are not permittedcredentials
- The entries that will be added to the credentials mapthis
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder syslogDrainUrl(String syslogDrainUrl)
syslogDrainUrl
attribute.syslogDrainUrl
- The value for syslogDrainUrl (can be null
)this
builder for use in a chained invocationpublic final UpdateUserProvidedServiceInstanceRequest.Builder userProvidedServiceInstanceName(String userProvidedServiceInstanceName)
userProvidedServiceInstanceName
attribute.userProvidedServiceInstanceName
- The value for userProvidedServiceInstanceNamethis
builder for use in a chained invocationpublic UpdateUserProvidedServiceInstanceRequest build()
UpdateUserProvidedServiceInstanceRequest
.IllegalStateException
- if any required attributes are missingCopyright © 2016 Pivotal Software, Inc.. All rights reserved.