public static class UpdateServiceInstanceRequest.PreviousValues extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder
Provides a fluent API for constructing a
UpdateServiceInstanceRequest.PreviousValues. |
| Constructor and Description |
|---|
PreviousValues(String planId,
MaintenanceInfo maintenanceInfo)
Deprecated.
in favor of
builder() |
PreviousValues(String serviceDefinitionId,
String planId,
String organizationId,
String spaceId,
MaintenanceInfo maintenanceInfo)
Construct a new
UpdateServiceInstanceRequest.PreviousValues |
| Modifier and Type | Method and Description |
|---|---|
static UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder |
builder()
Create a builder that provides a fluent API for constructing a PreviousValues.
|
boolean |
equals(Object o) |
MaintenanceInfo |
getMaintenanceInfo()
Get the maintenance info to the update request.
|
String |
getOrganizationId()
Get the ID of the organization prior to the update request.
|
String |
getPlanId()
Get the ID of the plan prior to the update request.
|
String |
getServiceDefinitionId()
Get the ID of the service offering prior to the update request.
|
String |
getSpaceId()
Get the ID of the space prior to the update request.
|
int |
hashCode() |
String |
toString() |
@Deprecated public PreviousValues(String planId, MaintenanceInfo maintenanceInfo)
builder()UpdateServiceInstanceRequest.PreviousValuesplanId - the plan IDmaintenanceInfo - the maintenance info (possibly null)public PreviousValues(String serviceDefinitionId, String planId, String organizationId, String spaceId, MaintenanceInfo maintenanceInfo)
UpdateServiceInstanceRequest.PreviousValuesserviceDefinitionId - the ID of the service offeringplanId - the plan IDorganizationId - the organization ID for the service instancespaceId - the space ID for the service instancemaintenanceInfo - the maintenance info (possibly null)public String getServiceDefinitionId()
This value is set from the service_id field in the previous_values field in the body of the request from the platform.
public String getPlanId()
This value is set from the plan_id field in the previous_values field in the body of the request from the platform.
public String getOrganizationId()
This value is set from the organization_id field in the previous_values field in the body of the request from the platform.
public String getSpaceId()
This value is set from the space_id field in the previous_values field in the body of the request from the platform.
public static UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder builder()
This builder is provided to support testing of ServiceInstanceService
implementations.
public MaintenanceInfo getMaintenanceInfo()
This value is set from the maintenance_info field in the previous_values field in the body of the request from the platform.