public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CopySnapshotRequest>
CopySnapshot operation
.Constructor and Description |
---|
CopySnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Returns the value of the Description property for this object.
|
Request<CopySnapshotRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSourceRegion()
Returns the value of the SourceRegion property for this object.
|
String |
getSourceSnapshotId()
Returns the value of the SourceSnapshotId property for this object.
|
int |
hashCode() |
void |
setDescription(String description)
Sets the value of the Description property for this object.
|
void |
setSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.
|
void |
setSourceSnapshotId(String sourceSnapshotId)
Sets the value of the SourceSnapshotId property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopySnapshotRequest |
withDescription(String description)
Sets the value of the Description property for this object.
|
CopySnapshotRequest |
withSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.
|
CopySnapshotRequest |
withSourceSnapshotId(String sourceSnapshotId)
Sets the value of the SourceSnapshotId property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getSourceRegion()
public void setSourceRegion(String sourceRegion)
sourceRegion
- The new value for the SourceRegion property for this object.public CopySnapshotRequest withSourceRegion(String sourceRegion)
Returns a reference to this object so that method calls can be chained together.
sourceRegion
- The new value for the SourceRegion property for this object.public String getSourceSnapshotId()
public void setSourceSnapshotId(String sourceSnapshotId)
sourceSnapshotId
- The new value for the SourceSnapshotId property for this object.public CopySnapshotRequest withSourceSnapshotId(String sourceSnapshotId)
Returns a reference to this object so that method calls can be chained together.
sourceSnapshotId
- The new value for the SourceSnapshotId property for this object.public String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public CopySnapshotRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The new value for the Description property for this object.public Request<CopySnapshotRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CopySnapshotRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.