Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeClusterSnapshotsResult

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

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

Contains the output from the DescribeClusterSnapshots action.

See Also:
Serialized Form

Constructor Summary
DescribeClusterSnapshotsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getMarker()
          A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return.
 java.util.List<Snapshot> getSnapshots()
          A list of Snapshot instances.
 int hashCode()
           
 void setMarker(java.lang.String marker)
          A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return.
 void setSnapshots(java.util.Collection<Snapshot> snapshots)
          A list of Snapshot instances.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeClusterSnapshotsResult withMarker(java.lang.String marker)
          A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return.
 DescribeClusterSnapshotsResult withSnapshots(java.util.Collection<Snapshot> snapshots)
          A list of Snapshot instances.
 DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots)
          A list of Snapshot instances.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeClusterSnapshotsResult

public DescribeClusterSnapshotsResult()
Method Detail

getMarker

public java.lang.String getMarker()
A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

Returns:
A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

setMarker

public void setMarker(java.lang.String marker)
A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

Parameters:
marker - A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

withMarker

public DescribeClusterSnapshotsResult withMarker(java.lang.String marker)
A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

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

Parameters:
marker - A marker that indicates the first snapshot that a subsequent DescribeClusterSnapshots request will return. The response returns a marker only if there are more snapshots to list than the current response can return.

getSnapshots

public java.util.List<Snapshot> getSnapshots()
A list of Snapshot instances.

Returns:
A list of Snapshot instances.

setSnapshots

public void setSnapshots(java.util.Collection<Snapshot> snapshots)
A list of Snapshot instances.

Parameters:
snapshots - A list of Snapshot instances.

withSnapshots

public DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots)
A list of Snapshot instances.

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

Parameters:
snapshots - A list of Snapshot instances.

withSnapshots

public DescribeClusterSnapshotsResult withSnapshots(java.util.Collection<Snapshot> snapshots)
A list of Snapshot instances.

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

Parameters:
snapshots - A list of Snapshot instances.

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.