@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeClustersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeClustersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getClusters()
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.
|
int |
hashCode() |
void |
setClusters(Collection<String> clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeClustersRequest |
withClusters(Collection<String> clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.
|
DescribeClustersRequest |
withClusters(String... clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getClusters()
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
public void setClusters(Collection<String> clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
clusters
- A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not
specify a cluster, the default cluster is assumed.public DescribeClustersRequest withClusters(String... clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
NOTE: This method appends the values to the existing list (if any). Use
setClusters(java.util.Collection)
or withClusters(java.util.Collection)
if you want to override
the existing values.
clusters
- A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not
specify a cluster, the default cluster is assumed.public DescribeClustersRequest withClusters(Collection<String> clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
clusters
- A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not
specify a cluster, the default cluster is assumed.public String toString()
toString
in class Object
Object.toString()
public DescribeClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.