com.amazonaws.services.ec2.model
Class CopySnapshotResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.CopySnapshotResult
All Implemented Interfaces:
java.io.Serializable

public class CopySnapshotResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CopySnapshotResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getSnapshotId()
          The ID of the new snapshot.
 int hashCode()
           
 void setSnapshotId(java.lang.String snapshotId)
          The ID of the new snapshot.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CopySnapshotResult withSnapshotId(java.lang.String snapshotId)
          The ID of the new snapshot.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopySnapshotResult

public CopySnapshotResult()
Method Detail

getSnapshotId

public java.lang.String getSnapshotId()
The ID of the new snapshot.

Returns:
The ID of the new snapshot.

setSnapshotId

public void setSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.

Parameters:
snapshotId - The ID of the new snapshot.

withSnapshotId

public CopySnapshotResult withSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshotId - The ID of the new snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.