Did this page help you?

   Yes   No   Tell us about it...

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()
          The marker returned from a previous request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 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)
          The marker returned from a previous request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 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)
          The marker returned from a previous request.
 DescribeClusterVersionsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
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 records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Returns:
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Parameters:
maxRecords - The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.


withMaxRecords

public DescribeClusterVersionsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

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

Parameters:
maxRecords - The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

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

getMarker

public String getMarker()
The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

Returns:
The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

setMarker

public void setMarker(String marker)
The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

Parameters:
marker - The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

withMarker

public DescribeClusterVersionsRequest withMarker(String marker)
The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

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

Parameters:
marker - The marker returned from a previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.