public class DescribeClustersRequest extends AmazonWebServiceRequest implements Serializable
DescribeClusters operation
.
Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide .
Constructor and Description |
---|
DescribeClustersRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The unique identifier of a cluster whose properties you are
requesting.
|
String |
getMarker()
An optional marker returned by a previous DescribeClusters
request to indicate the first cluster that the current
DescribeClusters request will return.
|
Integer |
getMaxRecords()
The maximum number of records that the response can include.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The unique identifier of a cluster whose properties you are
requesting.
|
void |
setMarker(String marker)
An optional marker returned by a previous DescribeClusters
request to indicate the first cluster that the current
DescribeClusters request will return.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records that the response can include.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeClustersRequest |
withClusterIdentifier(String clusterIdentifier)
The unique identifier of a cluster whose properties you are
requesting.
|
DescribeClustersRequest |
withMarker(String marker)
An optional marker returned by a previous DescribeClusters
request to indicate the first cluster that the current
DescribeClusters request will return.
|
DescribeClustersRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records that the response can include.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getClusterIdentifier()
The default is that all clusters defined for an account are returned.
The default is that all clusters defined for an account are returned.
public void setClusterIdentifier(String clusterIdentifier)
The default is that all clusters defined for an account are returned.
clusterIdentifier
- The unique identifier of a cluster whose properties you are
requesting. This parameter isn't case sensitive. The default is that all clusters defined for an account are returned.
public DescribeClustersRequest withClusterIdentifier(String clusterIdentifier)
The default is that all clusters defined for an account are returned.
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The unique identifier of a cluster whose properties you are
requesting. This parameter isn't case sensitive. The default is that all clusters defined for an account are returned.
public Integer getMaxRecords()
MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
Default: 100
Constraints: Value must be at least 20 and no more than 100.
MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
Default: 100
Constraints: Value must be at least 20 and no more than 100.
public void setMaxRecords(Integer maxRecords)
MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
Default: 100
Constraints: Value must be at least 20 and no more than 100.
maxRecords
- The maximum number of records that the response can include. If more
records exist than the specified MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
Default: 100
Constraints: Value must be at least 20 and no more than 100.
public DescribeClustersRequest withMaxRecords(Integer maxRecords)
MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
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.
maxRecords
- The maximum number of records that the response can include. If more
records exist than the specified MaxRecords
value, a
marker
is included in the response that can be used in a
new DescribeClusters request to continue listing results.
Default: 100
Constraints: Value must be at least 20 and no more than 100.
public String getMarker()
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
public void setMarker(String marker)
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
marker
- An optional marker returned by a previous DescribeClusters
request to indicate the first cluster that the current
DescribeClusters request will return. You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
public DescribeClustersRequest withMarker(String marker)
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
Returns a reference to this object so that method calls can be chained together.
marker
- An optional marker returned by a previous DescribeClusters
request to indicate the first cluster that the current
DescribeClusters request will return. You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.