@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()
Whether to include additional information about your 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)
Whether to include additional information about your 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)
Whether to include additional information about your clusters in the response.
|
DescribeClustersRequest |
withInclude(Collection<String> include)
Whether to include additional information about your clusters in the response.
|
DescribeClustersRequest |
withInclude(String... include)
Whether to include additional information about your 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()
Whether to include additional information about your clusters in the response. If this field is omitted, the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type, is
included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
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.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type,
is included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public void setInclude(Collection<String> include)
Whether to include additional information about your clusters in the response. If this field is omitted, the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type, is
included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Whether to include additional information about your clusters in the response. If this field is omitted,
the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type,
is included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(String... include)
Whether to include additional information about your clusters in the response. If this field is omitted, the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type, is
included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
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
- Whether to include additional information about your clusters in the response. If this field is omitted,
the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type,
is included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(Collection<String> include)
Whether to include additional information about your clusters in the response. If this field is omitted, the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type, is
included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Whether to include additional information about your clusters in the response. If this field is omitted,
the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type,
is included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
ClusterField
public DescribeClustersRequest withInclude(ClusterField... include)
Whether to include additional information about your clusters in the response. If this field is omitted, the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster
are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type, is
included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
If TAGS
is specified, the metadata tags associated with the cluster are included.
include
- Whether to include additional information about your clusters in the response. If this field is omitted,
the attachments, statistics, and tags are not included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the
cluster are included.
If SETTINGS
is specified, the settings for the cluster are included.
If STATISTICS
is specified, the following additional information, separated by launch type,
is included:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
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()