public static class CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder
extends java.lang.Object
CreateServiceInstanceRequest.| Modifier and Type | Method and Description |
|---|---|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
apiInfoLocation(java.lang.String apiInfoLocation)
Set the location of the API info endpoint as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
asyncAccepted(boolean asyncAccepted)
Set the value of the flag indicating whether the platform supports asynchronous operations.
|
CreateServiceInstanceRequest |
build()
Construct a
CreateServiceInstanceRequest from the provided values. |
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
context(Context context)
Set the
Context as would be provided in the request from the platform. |
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
originatingIdentity(Context originatingIdentity)
Set the identity of the user making the request as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
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 would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
parameters(java.lang.String key,
java.lang.Object value)
Add a key/value pair to the request parameters as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
plan(Plan plan)
Set the fully resolved plan for the service definition
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
planId(java.lang.String planId)
Set the plan ID as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
platformInstanceId(java.lang.String platformInstanceId)
Set the ID of the platform instance as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
serviceDefinition(ServiceDefinition serviceDefinition)
Set the fully resolved service definition.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
serviceDefinitionId(java.lang.String serviceDefinitionId)
Set the service definition ID as would be provided in the request from the platform.
|
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
serviceInstanceId(java.lang.String serviceInstanceId)
Set the service instance ID as would be provided in the request from the platform.
|
public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder serviceInstanceId(java.lang.String serviceInstanceId)
serviceInstanceId - the service instance IDCreateServiceInstanceRequest.getServiceInstanceId()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder serviceDefinitionId(java.lang.String serviceDefinitionId)
serviceDefinitionId - the service definition IDCreateServiceInstanceRequest.getServiceDefinitionId()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder serviceDefinition(ServiceDefinition serviceDefinition)
serviceDefinition - the service definitionCreateServiceInstanceRequest.getServiceDefinition()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder plan(Plan plan)
plan - the planCreateServiceInstanceRequest.getPlan()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder planId(java.lang.String planId)
planId - the plan IDCreateServiceInstanceRequest.getPlanId()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder parameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
parameters - the parameters to addAsyncParameterizedServiceInstanceRequest.getParameters()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder parameters(java.lang.String key, java.lang.Object value)
key - the parameter key to addvalue - the parameter value to addAsyncParameterizedServiceInstanceRequest.getParameters()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder context(Context context)
Context as would be provided in the request from the platform.context - the contextAsyncParameterizedServiceInstanceRequest.getContext()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder asyncAccepted(boolean asyncAccepted)
asyncAccepted - the boolean value of the flagAsyncServiceBrokerRequest.isAsyncAccepted()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder platformInstanceId(java.lang.String platformInstanceId)
platformInstanceId - the platform instance IDServiceBrokerRequest.getPlatformInstanceId()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder apiInfoLocation(java.lang.String apiInfoLocation)
apiInfoLocation - the API info endpoint locationServiceBrokerRequest.getApiInfoLocation()public CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder originatingIdentity(Context originatingIdentity)
originatingIdentity - the user identityServiceBrokerRequest.getOriginatingIdentity()public CreateServiceInstanceRequest build()
CreateServiceInstanceRequest from the provided values.