public static final class CreateServiceBindingResponse.Builder extends Object
CreateServiceBindingResponse.
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 |
|---|---|
CreateServiceBindingResponse |
build()
Builds a new
CreateServiceBindingResponse. |
CreateServiceBindingResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
CreateServiceBindingResponse.Builder |
data(ServiceBindingData data)
Initializes the value for the
data attribute. |
CreateServiceBindingResponse.Builder |
from(org.cloudfoundry.client.v3.servicebindings._CreateServiceBindingResponse instance)
Copy abstract value type
_CreateServiceBindingResponse instance into builder. |
CreateServiceBindingResponse.Builder |
from(CreateServiceBindingResponse instance)
Fill a builder with attribute values from the provided
CreateServiceBindingResponse instance. |
CreateServiceBindingResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
CreateServiceBindingResponse.Builder |
from(ServiceBinding instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.servicebindings.ServiceBinding instance. |
CreateServiceBindingResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
CreateServiceBindingResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
CreateServiceBindingResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
CreateServiceBindingResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
CreateServiceBindingResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
CreateServiceBindingResponse.Builder |
type(String type)
Initializes the value for the
type attribute. |
CreateServiceBindingResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
public final CreateServiceBindingResponse.Builder from(ServiceBinding instance)
org.cloudfoundry.client.v3.servicebindings.ServiceBinding instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder from(Resource instance)
org.cloudfoundry.client.v3.Resource instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder from(CreateServiceBindingResponse instance)
CreateServiceBindingResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder from(org.cloudfoundry.client.v3.servicebindings._CreateServiceBindingResponse instance)
_CreateServiceBindingResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder link(String key, Link value)
links map.key - The key in the links mapvalue - The associated value in the links mapthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder link(Map.Entry<String,? extends Link> entry)
links map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder links(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder putAllLinks(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder data(ServiceBindingData data)
data attribute.data - The value for data (can be null)this builder for use in a chained invocationpublic final CreateServiceBindingResponse.Builder type(String type)
type attribute.type - The value for type (can be null)this builder for use in a chained invocationpublic CreateServiceBindingResponse build()
CreateServiceBindingResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.