Class DescribeClusterVersionsResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeClusterVersionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeClusterVersionsResult extends Object implements Serializable, Cloneable
Contains the output from the DescribeClusterVersions action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeClusterVersionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeClusterVersionsResultclone()booleanequals(Object obj)List<ClusterVersion>getClusterVersions()A list ofVersionelements.StringgetMarker()A value that indicates the starting point for the next set of response records in a subsequent request.inthashCode()voidsetClusterVersions(Collection<ClusterVersion> clusterVersions)A list ofVersionelements.voidsetMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeClusterVersionsResultwithClusterVersions(ClusterVersion... clusterVersions)A list ofVersionelements.DescribeClusterVersionsResultwithClusterVersions(Collection<ClusterVersion> clusterVersions)A list ofVersionelements.DescribeClusterVersionsResultwithMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.
-
-
-
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 DescribeClusterVersionsResult 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.
-
getClusterVersions
public List<ClusterVersion> getClusterVersions()
A list of
Versionelements.- Returns:
- A list of
Versionelements.
-
setClusterVersions
public void setClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of
Versionelements.- Parameters:
clusterVersions- A list ofVersionelements.
-
withClusterVersions
public DescribeClusterVersionsResult withClusterVersions(ClusterVersion... clusterVersions)
A list of
Versionelements.NOTE: This method appends the values to the existing list (if any). Use
setClusterVersions(java.util.Collection)orwithClusterVersions(java.util.Collection)if you want to override the existing values.- Parameters:
clusterVersions- A list ofVersionelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusterVersions
public DescribeClusterVersionsResult withClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of
Versionelements.- Parameters:
clusterVersions- A list ofVersionelements.- 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 DescribeClusterVersionsResult clone()
-
-