public class UpdateServiceInstanceRequest 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 |
UpdateServiceInstanceRequest.PreviousValues
Information about the service instance prior to the update request.
|
static class |
UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder
Provides a fluent API for constructing a
UpdateServiceInstanceRequest . |
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 UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder |
builder()
Create a builder that provides a fluent API for constructing an UpdateServiceInstanceRequest.
|
boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Plan |
getPlan()
Get the plan of the service instance to update
|
String |
getPlanId()
Get the ID of the plan for to the service instance to update.
|
UpdateServiceInstanceRequest.PreviousValues |
getPreviousValues()
Get information about the service instance prior to the update request.
|
ServiceDefinition |
getServiceDefinition()
Get the service definition of the service instance to update.
|
String |
getServiceDefinitionId()
Get the ID of the service definition for to the service instance to update.
|
String |
getServiceInstanceId()
Get the ID of the service instance to update.
|
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 updatepublic 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.
public UpdateServiceInstanceRequest.PreviousValues getPreviousValues()
This value is set from the previous_values field in the body of the request from the platform.
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 instance to updatepublic Plan getPlan()
The plan is retrieved 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 instance to updatepublic static UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder builder()
This builder is provided to support testing of
ServiceInstanceService
implementations.
public final boolean equals(Object o)
equals
in class AsyncParameterizedServiceInstanceRequest
public final boolean canEqual(Object other)
canEqual
in class AsyncParameterizedServiceInstanceRequest
public final int hashCode()
hashCode
in class AsyncParameterizedServiceInstanceRequest
public String toString()
toString
in class AsyncParameterizedServiceInstanceRequest