public static final class CreateServiceBindingRequest.Builder extends Object
CreateServiceBindingRequest.
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 |
|---|---|
CreateServiceBindingRequest.Builder |
applicationId(String applicationId)
Initializes the value for the
applicationId attribute. |
CreateServiceBindingRequest |
build()
Builds a new
CreateServiceBindingRequest. |
CreateServiceBindingRequest.Builder |
from(CreateServiceBindingRequest instance)
Fill a builder with attribute values from the provided
CreateServiceBindingRequest instance. |
CreateServiceBindingRequest.Builder |
parameter(Map.Entry<String,? extends Object> entry)
Put one entry to the
parameters map. |
CreateServiceBindingRequest.Builder |
parameter(String key,
Object value)
Put one entry to the
parameters map. |
CreateServiceBindingRequest.Builder |
parameters(Map<String,? extends Object> parameters)
Sets or replaces all mappings from the specified map as entries for the
parameters map. |
CreateServiceBindingRequest.Builder |
putAllParameters(Map<String,? extends Object> parameters)
Put all mappings from the specified map as entries to
parameters map. |
CreateServiceBindingRequest.Builder |
serviceInstanceId(String serviceInstanceId)
Initializes the value for the
serviceInstanceId attribute. |
public final CreateServiceBindingRequest.Builder from(CreateServiceBindingRequest instance)
CreateServiceBindingRequest 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 CreateServiceBindingRequest.Builder applicationId(String applicationId)
applicationId attribute.applicationId - The value for applicationIdthis builder for use in a chained invocationpublic final CreateServiceBindingRequest.Builder parameter(String key, Object value)
parameters map.key - The key in the parameters mapvalue - The associated value in the parameters mapthis builder for use in a chained invocationpublic final CreateServiceBindingRequest.Builder parameter(Map.Entry<String,? extends Object> entry)
parameters map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final CreateServiceBindingRequest.Builder parameters(Map<String,? extends Object> parameters)
parameters map. Nulls are not permitted as keys or values, but parameter itself can be nullparameters - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic final CreateServiceBindingRequest.Builder putAllParameters(Map<String,? extends Object> parameters)
parameters map. Nulls are not permittedparameters - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic final CreateServiceBindingRequest.Builder serviceInstanceId(String serviceInstanceId)
serviceInstanceId attribute.serviceInstanceId - The value for serviceInstanceIdthis builder for use in a chained invocationpublic CreateServiceBindingRequest build()
CreateServiceBindingRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.