Class DescribeSnapshotsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a DescribeSnapshots action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An optional marker returned from a prior request.A list of snapshots.int
hashCode()
void
An optional marker returned from a prior request.void
setSnapshots
(Collection<Snapshot> snapshots) A list of snapshots.toString()
Returns a string representation of this object; useful for testing and debugging.withMarker
(String marker) An optional marker returned from a prior request.withSnapshots
(Snapshot... snapshots) A list of snapshots.withSnapshots
(Collection<Snapshot> snapshots) A list of snapshots.
-
Constructor Details
-
DescribeSnapshotsResult
public DescribeSnapshotsResult()
-
-
Method Details
-
setMarker
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
-
getMarker
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
-
withMarker
An optional marker returned from a prior request. Use this marker for pagination of results from this action. 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 action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
A list of snapshots. Each item in the list contains detailed information about one snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshots(java.util.Collection)
orwithSnapshots(java.util.Collection)
if you want to override the existing values.- Parameters:
snapshots
- A list of snapshots. Each item in the list contains detailed information about one snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSnapshots
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-