|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CopySnapshotRequest
public class CopySnapshotRequest
Container for the parameters to the CopySnapshot operation
.
AmazonEC2.copySnapshot(CopySnapshotRequest)
,
Serialized FormConstructor Summary | |
---|---|
CopySnapshotRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopySnapshotRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |