public class CreateServiceInstanceRequest extends AsyncParameterizedServiceInstanceRequest
Objects of this type are constructed by the framework from the headers, path variables, query parameters and message body passed to the service broker by the platform.
Modifier and Type | Class and Description |
---|---|
static class |
CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder
Provides a fluent API for constructing a
CreateServiceInstanceRequest . |
parameters
ASYNC_REQUEST_PARAMETER, asyncAccepted
API_INFO_LOCATION_HEADER, apiInfoLocation, BINDING_ID_PATH_VARIABLE, INSTANCE_ID_PATH_VARIABLE, ORIGINATING_IDENTITY_HEADER, originatingIdentity, PLAN_ID_PARAMETER, PLATFORM_INSTANCE_ID_VARIABLE, platformInstanceId, SERVICE_ID_PARAMETER
Modifier and Type | Method and Description |
---|---|
static CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder |
builder()
Create a builder that provides a fluent API for constructing a CreateServiceInstanceRequest.
|
boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getOrganizationGuid()
Deprecated.
AsyncParameterizedServiceInstanceRequest.getContext() provides platform-neutral access to platform context details |
protected String |
getOrganizationGuidToSerialize() |
Plan |
getPlan()
Get the plan of the service to create
|
String |
getPlanId()
Get the ID of the plan for to the service instance to create.
|
ServiceDefinition |
getServiceDefinition()
Get the service definition of the service to create.
|
String |
getServiceDefinitionId()
Get the ID of the service definition for to the service instance to create.
|
String |
getServiceInstanceId()
Get the ID of the service instance to create.
|
String |
getSpaceGuid()
Deprecated.
AsyncParameterizedServiceInstanceRequest.getContext() provides platform-neutral access to platform context details |
protected String |
getSpaceGuidToSerialize() |
int |
hashCode() |
void |
setPlan(Plan plan)
For internal use only.
|
void |
setServiceDefinition(ServiceDefinition serviceDefinition)
This method is intended to be used internally only; use
builder() to construct an object of this
type and set all field values. |
void |
setServiceInstanceId(String serviceInstanceId)
This method is intended to be used internally only; use
builder() to construct an object of this
type and set all field values. |
String |
toString() |
getContext, getParameters, getParameters
isAsyncAccepted, setAsyncAccepted
getApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceId
public String getServiceInstanceId()
This value is set from the :instance_id path element of the request from the platform.
public void setServiceInstanceId(String serviceInstanceId)
builder()
to construct an object of this
type and set all field values.serviceInstanceId
- the ID of the service instance to createpublic String getServiceDefinitionId()
Catalog
.
This value is set from the service_id field in the body of the request from the platform
public String getPlanId()
Catalog
within the specified
ServiceDefinition
.
This value is set from the plan_id field in the body of the request from the platform.
@Deprecated public String getOrganizationGuid()
AsyncParameterizedServiceInstanceRequest.getContext()
provides platform-neutral access to platform context detailsThis value is set from the organization_guid field in the body of the request from the platform.
@Deprecated public String getSpaceGuid()
AsyncParameterizedServiceInstanceRequest.getContext()
provides platform-neutral access to platform context detailsThis value is set from the space_guid field in the body of the request from the platform.
protected String getSpaceGuidToSerialize()
protected String getOrganizationGuidToSerialize()
public ServiceDefinition getServiceDefinition()
The service definition is retrieved from the
Catalog
as a convenience.
public void setServiceDefinition(ServiceDefinition serviceDefinition)
builder()
to construct an object of this
type and set all field values.serviceDefinition
- the service definition of the service to createpublic Plan getPlan()
The plan is retreved from the
Catalog
as a convenience.
public void setPlan(Plan plan)
builder()
to construct an object of this type and set all field values.plan
- the plan of the service to createpublic static CreateServiceInstanceRequest.CreateServiceInstanceRequestBuilder builder()
This builder is provided to support testing of
ServiceInstanceService
implementations.
public final boolean equals(Object o)
equals
in class AsyncParameterizedServiceInstanceRequest
public boolean canEqual(Object other)
canEqual
in class AsyncParameterizedServiceInstanceRequest
public final int hashCode()
hashCode
in class AsyncParameterizedServiceInstanceRequest
public String toString()
toString
in class AsyncParameterizedServiceInstanceRequest