@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopySnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CopySnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSourceRegion()
The AWS Region where the source snapshot is located.
|
String |
getSourceSnapshotName()
The name of the source instance or disk snapshot to be copied.
|
String |
getTargetSnapshotName()
The name of the new instance or disk snapshot to be created as a copy.
|
int |
hashCode() |
void |
setSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
|
void |
setSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
|
void |
setTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
|
String |
toString()
Returns a string representation of this object.
|
CopySnapshotRequest |
withSourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest |
withSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest |
withSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
|
CopySnapshotRequest |
withTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
|
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 setSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
sourceSnapshotName
- The name of the source instance or disk snapshot to be copied.public String getSourceSnapshotName()
The name of the source instance or disk snapshot to be copied.
public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
sourceSnapshotName
- The name of the source instance or disk snapshot to be copied.public void setTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
targetSnapshotName
- The name of the new instance or disk snapshot to be created as a copy.public String getTargetSnapshotName()
The name of the new instance or disk snapshot to be created as a copy.
public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
targetSnapshotName
- The name of the new instance or disk snapshot to be created as a copy.public void setSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion
- The AWS Region where the source snapshot is located.RegionName
public String getSourceRegion()
The AWS Region where the source snapshot is located.
RegionName
public CopySnapshotRequest withSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion
- The AWS Region where the source snapshot is located.RegionName
public CopySnapshotRequest withSourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion
- The AWS Region where the source snapshot is located.RegionName
public String toString()
toString
in class Object
Object.toString()
public CopySnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.