Class DescribeDBClusterSnapshotsResult
- java.lang.Object
-
- com.amazonaws.services.rds.model.DescribeDBClusterSnapshotsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDBClusterSnapshotsResult extends Object implements Serializable, Cloneable
Provides a list of DB cluster snapshots for the user as the result of a call to the DescribeDBClusterSnapshots action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDBClusterSnapshotsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDBClusterSnapshotsResult
clone()
boolean
equals(Object obj)
List<DBClusterSnapshot>
getDBClusterSnapshots()
Provides a list of DB cluster snapshots for the user.String
getMarker()
An optional pagination token provided by a previous DescribeDBClusterSnapshots request.int
hashCode()
void
setDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.void
setMarker(String marker)
An optional pagination token provided by a previous DescribeDBClusterSnapshots request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeDBClusterSnapshotsResult
withDBClusterSnapshots(DBClusterSnapshot... dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.DescribeDBClusterSnapshotsResult
withDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.DescribeDBClusterSnapshotsResult
withMarker(String marker)
An optional pagination token provided by a previous DescribeDBClusterSnapshots request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.
-
getMarker
public String getMarker()
An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Returns:
- An optional pagination token provided by a previous
DescribeDBClusterSnapshots request. If this parameter is
specified, the response includes only records beyond the marker,
up to the value specified by
MaxRecords
.
-
withMarker
public DescribeDBClusterSnapshotsResult withMarker(String marker)
An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDBClusterSnapshots
public List<DBClusterSnapshot> getDBClusterSnapshots()
Provides a list of DB cluster snapshots for the user.
- Returns:
- Provides a list of DB cluster snapshots for the user.
-
setDBClusterSnapshots
public void setDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.
- Parameters:
dBClusterSnapshots
- Provides a list of DB cluster snapshots for the user.
-
withDBClusterSnapshots
public DescribeDBClusterSnapshotsResult withDBClusterSnapshots(DBClusterSnapshot... dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.
NOTE: This method appends the values to the existing list (if any). Use
setDBClusterSnapshots(java.util.Collection)
orwithDBClusterSnapshots(java.util.Collection)
if you want to override the existing values.- Parameters:
dBClusterSnapshots
- Provides a list of DB cluster snapshots for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDBClusterSnapshots
public DescribeDBClusterSnapshotsResult withDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of DB cluster snapshots for the user.
- Parameters:
dBClusterSnapshots
- Provides a list of DB cluster snapshots for the user.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDBClusterSnapshotsResult clone()
-
-