@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStorageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.
NOOP
Constructor and Description |
---|
UpdateStorageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateStorageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster to be updated.
|
String |
getCurrentVersion()
The version of cluster to update from.
|
ProvisionedThroughput |
getProvisionedThroughput()
EBS volume provisioned throughput information.
|
String |
getStorageMode()
Controls storage mode for supported storage tiers.
|
Integer |
getVolumeSizeGB()
size of the EBS volume to update.
|
int |
hashCode() |
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster to be updated.
|
void |
setCurrentVersion(String currentVersion)
The version of cluster to update from.
|
void |
setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
EBS volume provisioned throughput information.
|
void |
setStorageMode(String storageMode)
Controls storage mode for supported storage tiers.
|
void |
setVolumeSizeGB(Integer volumeSizeGB)
size of the EBS volume to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateStorageRequest |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster to be updated.
|
UpdateStorageRequest |
withCurrentVersion(String currentVersion)
The version of cluster to update from.
|
UpdateStorageRequest |
withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
EBS volume provisioned throughput information.
|
UpdateStorageRequest |
withStorageMode(StorageMode storageMode)
Controls storage mode for supported storage tiers.
|
UpdateStorageRequest |
withStorageMode(String storageMode)
Controls storage mode for supported storage tiers.
|
UpdateStorageRequest |
withVolumeSizeGB(Integer volumeSizeGB)
size of the EBS volume to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster to be updated.
clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster to be updated.
The Amazon Resource Name (ARN) of the cluster to be updated.
public UpdateStorageRequest withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster to be updated.
clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
public void setCurrentVersion(String currentVersion)
The version of cluster to update from. A successful operation will then generate a new version.
currentVersion
- The version of cluster to update from. A successful operation will then generate a new version.
public String getCurrentVersion()
The version of cluster to update from. A successful operation will then generate a new version.
The version of cluster to update from. A successful operation will then generate a new version.
public UpdateStorageRequest withCurrentVersion(String currentVersion)
The version of cluster to update from. A successful operation will then generate a new version.
currentVersion
- The version of cluster to update from. A successful operation will then generate a new version.
public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
EBS volume provisioned throughput information.
provisionedThroughput
- EBS volume provisioned throughput information.
public ProvisionedThroughput getProvisionedThroughput()
EBS volume provisioned throughput information.
EBS volume provisioned throughput information.
public UpdateStorageRequest withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
EBS volume provisioned throughput information.
provisionedThroughput
- EBS volume provisioned throughput information.
public void setStorageMode(String storageMode)
Controls storage mode for supported storage tiers.
storageMode
- Controls storage mode for supported storage tiers.
StorageMode
public String getStorageMode()
Controls storage mode for supported storage tiers.
Controls storage mode for supported storage tiers.
StorageMode
public UpdateStorageRequest withStorageMode(String storageMode)
Controls storage mode for supported storage tiers.
storageMode
- Controls storage mode for supported storage tiers.
StorageMode
public UpdateStorageRequest withStorageMode(StorageMode storageMode)
Controls storage mode for supported storage tiers.
storageMode
- Controls storage mode for supported storage tiers.
StorageMode
public void setVolumeSizeGB(Integer volumeSizeGB)
size of the EBS volume to update.
volumeSizeGB
- size of the EBS volume to update.
public Integer getVolumeSizeGB()
size of the EBS volume to update.
size of the EBS volume to update.
public UpdateStorageRequest withVolumeSizeGB(Integer volumeSizeGB)
size of the EBS volume to update.
volumeSizeGB
- size of the EBS volume to update.
public String toString()
toString
in class Object
Object.toString()
public UpdateStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()