com.amazonaws.services.redshift.model
Class DescribeClusterVersionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.DescribeClusterVersionsRequest
All Implemented Interfaces:
Serializable

public class DescribeClusterVersionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeClusterVersions operation.

Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide

See Also:
AmazonRedshift.describeClusterVersions(DescribeClusterVersionsRequest), Serialized Form

Constructor Summary
DescribeClusterVersionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterParameterGroupFamily()
          The name of a specific cluster parameter group family to return details for.
 String getClusterVersion()
          The specific cluster version to return.
 String getMarker()
          An optional parameter that specifies the starting point to return a set of response records.
 Integer getMaxRecords()
          The maximum number of response records to return in each call.
 int hashCode()
           
 void setClusterParameterGroupFamily(String clusterParameterGroupFamily)
          The name of a specific cluster parameter group family to return details for.
 void setClusterVersion(String clusterVersion)
          The specific cluster version to return.
 void setMarker(String marker)
          An optional parameter that specifies the starting point to return a set of response records.
 void setMaxRecords(Integer maxRecords)
          The maximum number of response records to return in each call.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeClusterVersionsRequest withClusterParameterGroupFamily(String clusterParameterGroupFamily)
          The name of a specific cluster parameter group family to return details for.
 DescribeClusterVersionsRequest withClusterVersion(String clusterVersion)
          The specific cluster version to return.
 DescribeClusterVersionsRequest withMarker(String marker)
          An optional parameter that specifies the starting point to return a set of response records.
 DescribeClusterVersionsRequest withMaxRecords(Integer maxRecords)
          The maximum number of response records to return in each call.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeClusterVersionsRequest

public DescribeClusterVersionsRequest()
Method Detail

getClusterVersion

public String getClusterVersion()
The specific cluster version to return.

Example: 1.0

Returns:
The specific cluster version to return.

Example: 1.0


setClusterVersion

public void setClusterVersion(String clusterVersion)
The specific cluster version to return.

Example: 1.0

Parameters:
clusterVersion - The specific cluster version to return.

Example: 1.0


withClusterVersion

public DescribeClusterVersionsRequest withClusterVersion(String clusterVersion)
The specific cluster version to return.

Example: 1.0

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterVersion - The specific cluster version to return.

Example: 1.0

Returns:
A reference to this updated object so that method calls can be chained together.

getClusterParameterGroupFamily

public String getClusterParameterGroupFamily()
The name of a specific cluster parameter group family to return details for.

Constraints:

Returns:
The name of a specific cluster parameter group family to return details for.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

setClusterParameterGroupFamily

public void setClusterParameterGroupFamily(String clusterParameterGroupFamily)
The name of a specific cluster parameter group family to return details for.

Constraints:

Parameters:
clusterParameterGroupFamily - The name of a specific cluster parameter group family to return details for.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

withClusterParameterGroupFamily

public DescribeClusterVersionsRequest withClusterParameterGroupFamily(String clusterParameterGroupFamily)
The name of a specific cluster parameter group family to return details for.

Constraints:

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterParameterGroupFamily - The name of a specific cluster parameter group family to return details for.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Parameters:
maxRecords - The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.


withMaxRecords

public DescribeClusterVersionsRequest withMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Returns:
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

setMarker

public void setMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Parameters:
marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

withMarker

public DescribeClusterVersionsRequest withMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.