public static class GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder
extends java.lang.Object
GetServiceInstanceAppBindingResponse
.Modifier and Type | Method and Description |
---|---|
GetServiceInstanceAppBindingResponse |
build()
Construct a
GetServiceInstanceAppBindingResponse from the provided values. |
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
credentials(java.util.Map<java.lang.String,java.lang.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.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
credentials(java.lang.String key,
java.lang.Object value)
Add a key/value pair to the that the bound application can use to access the service instance.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
parameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Add a set of parameters from the provided Map to the request parameters
as were provided by the platform at service binding creation.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
parameters(java.lang.String key,
java.lang.Object value)
Add a key/value pair to the request parameters as were provided in the request from the platform at
service binding creation.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
syslogDrainUrl(java.lang.String syslogDrainUrl)
Set the URL to which the platform should drain logs for the bound application.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
volumeMounts(java.util.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.
|
GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder |
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 GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder credentials(java.util.Map<java.lang.String,java.lang.Object> credentials)
This value will set the credentials field in the body of the response to the platform
credentials
- a Map of credentialspublic GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder credentials(java.lang.String key, java.lang.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 GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder syslogDrainUrl(java.lang.String syslogDrainUrl)
This value will set the syslog_drain_url field in the body of the response to the platform
syslogDrainUrl
- the syslog URLpublic GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder volumeMounts(java.util.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 GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder 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 GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder parameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
This value will set the parameters field in the body of the response to the platform.
parameters
- the parameters to addGetServiceInstanceBindingResponse.getParameters()
public GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder parameters(java.lang.String key, java.lang.Object value)
This value will set the parameters field in the body of the response to the platform.
key
- the parameter key to addvalue
- the parameter value to addGetServiceInstanceBindingResponse.getParameters()
public GetServiceInstanceAppBindingResponse build()
GetServiceInstanceAppBindingResponse
from the provided values.