@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSnapshotCopyConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateSnapshotCopyConfigurationRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateSnapshotCopyConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSnapshotCopyConfigurationId()
The ID of the snapshot copy configuration to update.
|
Integer |
getSnapshotRetentionPeriod()
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
|
int |
hashCode() |
void |
setSnapshotCopyConfigurationId(String snapshotCopyConfigurationId)
The ID of the snapshot copy configuration to update.
|
void |
setSnapshotRetentionPeriod(Integer snapshotRetentionPeriod)
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSnapshotCopyConfigurationRequest |
withSnapshotCopyConfigurationId(String snapshotCopyConfigurationId)
The ID of the snapshot copy configuration to update.
|
UpdateSnapshotCopyConfigurationRequest |
withSnapshotRetentionPeriod(Integer snapshotRetentionPeriod)
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
|
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 UpdateSnapshotCopyConfigurationRequest()
public void setSnapshotCopyConfigurationId(String snapshotCopyConfigurationId)
The ID of the snapshot copy configuration to update.
snapshotCopyConfigurationId - The ID of the snapshot copy configuration to update.public String getSnapshotCopyConfigurationId()
The ID of the snapshot copy configuration to update.
public UpdateSnapshotCopyConfigurationRequest withSnapshotCopyConfigurationId(String snapshotCopyConfigurationId)
The ID of the snapshot copy configuration to update.
snapshotCopyConfigurationId - The ID of the snapshot copy configuration to update.public void setSnapshotRetentionPeriod(Integer snapshotRetentionPeriod)
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
snapshotRetentionPeriod - The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.public Integer getSnapshotRetentionPeriod()
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
public UpdateSnapshotCopyConfigurationRequest withSnapshotRetentionPeriod(Integer snapshotRetentionPeriod)
The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
snapshotRetentionPeriod - The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.public String toString()
toString in class ObjectObject.toString()public UpdateSnapshotCopyConfigurationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()