com.amazonaws.services.ec2.model
Class DescribeSnapshotsResult

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

public class DescribeSnapshotsResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DescribeSnapshotsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Snapshot> getSnapshots()
           
 int hashCode()
           
 void setSnapshots(Collection<Snapshot> snapshots)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
           Returns a reference to this object so that method calls can be chained together.
 DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSnapshotsResult

public DescribeSnapshotsResult()
Method Detail

getSnapshots

public List<Snapshot> getSnapshots()
Returns:

setSnapshots

public void setSnapshots(Collection<Snapshot> snapshots)
Parameters:
snapshots -

withSnapshots

public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)

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

Parameters:
snapshots -
Returns:
A reference to this updated object so that method calls can be chained together.

withSnapshots

public DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)

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

Parameters:
snapshots -
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.