com.amazonaws.services.elasticache.model
Class DescribeSnapshotsResult

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

public class DescribeSnapshotsResult
extends Object
implements Serializable

Represents the output of a DescribeSnapshots operation.

See Also:
Serialized Form

Constructor Summary
DescribeSnapshotsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          An optional marker returned from a prior request.
 List<Snapshot> getSnapshots()
          A list of snapshots.
 int hashCode()
           
 void setMarker(String marker)
          An optional marker returned from a prior request.
 void setSnapshots(Collection<Snapshot> snapshots)
          A list of snapshots.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSnapshotsResult withMarker(String marker)
          An optional marker returned from a prior request.
 DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
          A list of snapshots.
 DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)
          A list of snapshots.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSnapshotsResult

public DescribeSnapshotsResult()
Method Detail

getMarker

public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters:
marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeSnapshotsResult withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

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

Parameters:
marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshots

public List<Snapshot> getSnapshots()
A list of snapshots. Each item in the list contains detailed information about one snapshot.

Returns:
A list of snapshots. Each item in the list contains detailed information about one snapshot.

setSnapshots

public void setSnapshots(Collection<Snapshot> snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.

Parameters:
snapshots - A list of snapshots. Each item in the list contains detailed information about one snapshot.

withSnapshots

public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.

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

Parameters:
snapshots - A list of snapshots. Each item in the list contains detailed information about one snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

withSnapshots

public DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.

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

Parameters:
snapshots - A list of snapshots. Each item in the list contains detailed information about one 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.