@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, withSdkRequestTimeout
public 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
.TargetStorageTier
public String getStorageTier()
The name of the storage tier. You must specify archive
.
archive
.TargetStorageTier
public 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
.TargetStorageTier
public 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
.TargetStorageTier
public Request<ModifySnapshotTierRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifySnapshotTierRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifySnapshotTierRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()