public static final class CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder extends Object
CreateServiceInstanceAppBindingResponse.| Modifier and Type | Method and Description | 
|---|---|
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | async(boolean async)Set a boolean value indicating whether the requested operation is being performed synchronously or
 asynchronously. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | bindingExisted(boolean bindingExisted)Set a boolean value indicating whether the service binding already exists with the same parameters as the
 requested service binding. | 
| CreateServiceInstanceAppBindingResponse | build()Construct a  CreateServiceInstanceAppBindingResponsefrom the provided values. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | credentials(Map<String,Object> credentials)Add a set of credentials from the provided Map to the credentials that the bound application can
 use to access the service instance. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | credentials(String key,
           Object value)Add a key/value pair to the that the bound application can use to access the service instance. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | endpoints(Endpoint... endpoints)Add a set of endpoints from the provided array to the endpoints that can be used by an application to connect
 to the service instance. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | endpoints(List<Endpoint> endpoints)Add a set of endpoints from the provided List to the endpoints that can be used by an application
 to connect to the service instance. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | operation(String operation)Set a value to inform the user of the operation being performed in support of an asynchronous response. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | syslogDrainUrl(String syslogDrainUrl)Set the URL to which the platform should drain logs for the bound application. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | volumeMounts(List<VolumeMount> volumeMounts)Add a set of volume mounts from the provided List to the volume mounts that can be used in an
 application container file system. | 
| CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder | volumeMounts(VolumeMount... volumeMounts)Add a set of volume mounts from the provided array to the volume mounts that can be used in an application
 container file system. | 
public CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder credentials(Map<String,Object> credentials)
This value will set the credentials field in the body of the response to the platform
credentials - a Map of credentialspublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder credentials(String key, Object value)
This value will set the credentials field in the body of the response to the platform
key - the credential keyvalue - the credential valuepublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder syslogDrainUrl(String syslogDrainUrl)
This value will set the syslog_drain_url field in the body of the response to the platform
syslogDrainUrl - the syslog URLpublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder volumeMounts(List<VolumeMount> volumeMounts)
This value will set the volume_mounts field in the body of the response to the platform.
volumeMounts - a List of volume mountspublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder volumeMounts(VolumeMount... volumeMounts)
This value will set the volume_mounts field in the body of the response to the platform.
volumeMounts - one more volume mountspublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder endpoints(List<Endpoint> endpoints)
This value will set the endpoints field in the body of the response to the platform.
endpoints - one more endpointspublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder endpoints(Endpoint... endpoints)
This value will set the endpoints field in the body of the response to the platform.
endpoints - one more endpointspublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder bindingExisted(boolean bindingExisted)
false indicates that new resources were created.
 This value will be used to determine the HTTP response code to the platform. A true value will result in a response code 200 OK, and a false value will result in a response code 201 CREATED.
bindingExisted - true to indicate that the binding exists, false otherwisepublic CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder async(boolean async)
 This value will be used to determine the HTTP response code to the platform. A true value will
 result in a response code 202 ACCEPTED; otherwise the response code will be determined by the
 value of bindingExisted(boolean).
async - true to indicate that the operation is being performed asynchronously, false to indicate that the operation was completedbindingExisted(boolean)public CreateServiceInstanceAppBindingResponse.CreateServiceInstanceAppBindingResponseBuilder operation(String operation)
GetLastServiceBindingOperationRequest
 requests.
 This value will set the operation field in the body of the response to the platform.
operation - description of the operation being performedpublic CreateServiceInstanceAppBindingResponse build()
CreateServiceInstanceAppBindingResponse from the provided values.