@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClusterVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output from the DescribeClusterVersions action.
Constructor and Description |
---|
DescribeClusterVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClusterVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<ClusterVersion> |
getClusterVersions()
A list of
Version elements. |
String |
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
int |
hashCode() |
void |
setClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of
Version elements. |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeClusterVersionsResult |
withClusterVersions(ClusterVersion... clusterVersions)
A list of
Version elements. |
DescribeClusterVersionsResult |
withClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of
Version elements. |
DescribeClusterVersionsResult |
withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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.
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.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.
Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.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 Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
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.public List<ClusterVersion> getClusterVersions()
A list of Version
elements.
Version
elements.public void setClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of Version
elements.
clusterVersions
- A list of Version
elements.public DescribeClusterVersionsResult withClusterVersions(ClusterVersion... clusterVersions)
A list of Version
elements.
NOTE: This method appends the values to the existing list (if any). Use
setClusterVersions(java.util.Collection)
or withClusterVersions(java.util.Collection)
if you
want to override the existing values.
clusterVersions
- A list of Version
elements.public DescribeClusterVersionsResult withClusterVersions(Collection<ClusterVersion> clusterVersions)
A list of Version
elements.
clusterVersions
- A list of Version
elements.public String toString()
toString
in class Object
Object.toString()
public DescribeClusterVersionsResult clone()