@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifySnapshotTierRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifySnapshotTierRequest>
NOOP| Constructor and Description |
|---|
ModifySnapshotTierRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifySnapshotTierRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifySnapshotTierRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getStorageTier()
The name of the storage tier.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setStorageTier(String storageTier)
The name of the storage tier.
|
String |
toString()
Returns a string representation of this object.
|
ModifySnapshotTierRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
ModifySnapshotTierRequest |
withStorageTier(String storageTier)
The name of the storage tier.
|
ModifySnapshotTierRequest |
withStorageTier(TargetStorageTier storageTier)
The name of the storage tier.
|
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, withSdkRequestTimeoutpublic void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public ModifySnapshotTierRequest withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public void setStorageTier(String storageTier)
The name of the storage tier. You must specify archive.
storageTier - The name of the storage tier. You must specify archive.TargetStorageTierpublic String getStorageTier()
The name of the storage tier. You must specify archive.
archive.TargetStorageTierpublic ModifySnapshotTierRequest withStorageTier(String storageTier)
The name of the storage tier. You must specify archive.
storageTier - The name of the storage tier. You must specify archive.TargetStorageTierpublic ModifySnapshotTierRequest withStorageTier(TargetStorageTier storageTier)
The name of the storage tier. You must specify archive.
storageTier - The name of the storage tier. You must specify archive.TargetStorageTierpublic Request<ModifySnapshotTierRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifySnapshotTierRequest>public String toString()
toString in class ObjectObject.toString()public ModifySnapshotTierRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()