@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.
|
List<String> |
getInclude()
Determines whether to include additional information about the clusters in the response.
|
int |
hashCode() |
void |
setClusters(Collection<String> clusters)
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.
|
void |
setInclude(Collection<String> include)
Determines whether to include additional information about the clusters in the response.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
DescribeClustersRequest |
withInclude(ClusterField... include)
Determines whether to include additional information about the clusters in the response.
|
DescribeClustersRequest |
withInclude(Collection<String> include)
Determines whether to include additional information about the clusters in the response.
|
DescribeClustersRequest |
withInclude(String... include)
Determines whether to include additional information about the clusters in the response.
|
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 List<String> getInclude()
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch
type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public void setInclude(Collection<String> include)
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Determines whether to include additional information about the clusters in the response. If this field is
omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(String... include)
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
NOTE: This method appends the values to the existing list (if any). Use
setInclude(java.util.Collection)
or withInclude(java.util.Collection)
if you want to override
the existing values.
include
- Determines whether to include additional information about the clusters in the response. If this field is
omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(Collection<String> include)
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Determines whether to include additional information about the clusters in the response. If this field is
omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(ClusterField... include)
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Determines whether to include additional information about the clusters in the response. If this field is
omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public String toString()
toString
in class Object
Object.toString()
public DescribeClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()