Class DescribeReservedNodesResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeReservedNodesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeReservedNodesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedNodesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedNodesResultclone()booleanequals(Object obj)StringgetMarker()A value that indicates the starting point for the next set of response records in a subsequent request.List<ReservedNode>getReservedNodes()The list ofReservedNodeobjects.inthashCode()voidsetMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.voidsetReservedNodes(Collection<ReservedNode> reservedNodes)The list ofReservedNodeobjects.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeReservedNodesResultwithMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.DescribeReservedNodesResultwithReservedNodes(ReservedNode... reservedNodes)The list ofReservedNodeobjects.DescribeReservedNodesResultwithReservedNodes(Collection<ReservedNode> reservedNodes)The list ofReservedNodeobjects.
-
-
-
Method Detail
-
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
Markerparameter and retrying the command. If theMarkerfield 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 theMarkerparameter and retrying the command. If theMarkerfield 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
Markerparameter and retrying the command. If theMarkerfield 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
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.
-
withMarker
public DescribeReservedNodesResult 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
Markerparameter and retrying the command. If theMarkerfield 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 theMarkerparameter and retrying the command. If theMarkerfield 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.
-
getReservedNodes
public List<ReservedNode> getReservedNodes()
The list of
ReservedNodeobjects.- Returns:
- The list of
ReservedNodeobjects.
-
setReservedNodes
public void setReservedNodes(Collection<ReservedNode> reservedNodes)
The list of
ReservedNodeobjects.- Parameters:
reservedNodes- The list ofReservedNodeobjects.
-
withReservedNodes
public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNodes)
The list of
ReservedNodeobjects.NOTE: This method appends the values to the existing list (if any). Use
setReservedNodes(java.util.Collection)orwithReservedNodes(java.util.Collection)if you want to override the existing values.- Parameters:
reservedNodes- The list ofReservedNodeobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedNodes
public DescribeReservedNodesResult withReservedNodes(Collection<ReservedNode> reservedNodes)
The list of
ReservedNodeobjects.- Parameters:
reservedNodes- The list ofReservedNodeobjects.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedNodesResult clone()
-
-