Class DescribeClusterSnapshotsResult

java.lang.Object
com.amazonaws.services.redshift.model.DescribeClusterSnapshotsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeClusterSnapshotsResult extends Object implements Serializable, Cloneable

Contains the output from the DescribeClusterSnapshots action.

See Also:
  • Constructor Details

    • DescribeClusterSnapshotsResult

      public DescribeClusterSnapshotsResult()
  • Method Details

    • setMarker

      public void setMarker(String marker)

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

      Parameters:
      marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
    • getMarker

      public String getMarker()

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

      Returns:
      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
    • withMarker

      public DescribeClusterSnapshotsResult withMarker(String marker)

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

      Parameters:
      marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getSnapshots

      public List<Snapshot> getSnapshots()

      A list of Snapshot instances.

      Returns:
      A list of Snapshot instances.
    • setSnapshots

      public void setSnapshots(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.

      NOTE: This method appends the values to the existing list (if any). Use setSnapshots(java.util.Collection) or withSnapshots(java.util.Collection) if you want to override the existing values.

      Parameters:
      snapshots - A list of Snapshot instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withSnapshots

      public DescribeClusterSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)

      A list of Snapshot instances.

      Parameters:
      snapshots - A list of Snapshot instances.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object