com.amazonaws.services.ec2.model
Class CopySnapshotResult

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

public class CopySnapshotResult
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

CopySnapshotResult

public CopySnapshotResult()
Method Detail

getSnapshotId

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

Returns:
The ID of the new snapshot.

setSnapshotId

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

Parameters:
snapshotId - The ID of the new snapshot.

withSnapshotId

public CopySnapshotResult withSnapshotId(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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.