@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeServicesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe.
|
List<String> |
getInclude()
Determines whether you want to see the resource tags for the service.
|
List<String> |
getServices()
A list of services to describe.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe.
|
void |
setInclude(Collection<String> include)
Determines whether you want to see the resource tags for the service.
|
void |
setServices(Collection<String> services)
A list of services to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeServicesRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe.
|
DescribeServicesRequest |
withInclude(Collection<String> include)
Determines whether you want to see the resource tags for the service.
|
DescribeServicesRequest |
withInclude(ServiceField... include)
Determines whether you want to see the resource tags for the service.
|
DescribeServicesRequest |
withInclude(String... include)
Determines whether you want to see the resource tags for the service.
|
DescribeServicesRequest |
withServices(Collection<String> services)
A list of services to describe.
|
DescribeServicesRequest |
withServices(String... services)
A list of services to describe.
|
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 void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.
cluster
- The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do
not specify a cluster, the default cluster is assumed. This parameter is required if the service or
services you are describing were launched in any cluster other than the default cluster.public String getCluster()
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.
public DescribeServicesRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.
cluster
- The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do
not specify a cluster, the default cluster is assumed. This parameter is required if the service or
services you are describing were launched in any cluster other than the default cluster.public List<String> getServices()
A list of services to describe. You may specify up to 10 services to describe in a single operation.
public void setServices(Collection<String> services)
A list of services to describe. You may specify up to 10 services to describe in a single operation.
services
- A list of services to describe. You may specify up to 10 services to describe in a single operation.public DescribeServicesRequest withServices(String... services)
A list of services to describe. You may specify up to 10 services to describe in a single operation.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection)
or withServices(java.util.Collection)
if you want to override
the existing values.
services
- A list of services to describe. You may specify up to 10 services to describe in a single operation.public DescribeServicesRequest withServices(Collection<String> services)
A list of services to describe. You may specify up to 10 services to describe in a single operation.
services
- A list of services to describe. You may specify up to 10 services to describe in a single operation.public List<String> getInclude()
Determines whether you want to see the resource tags for the service. If TAGS
is specified, the tags
are included in the response. If this field is omitted, tags aren't included in the response.
TAGS
is specified,
the tags are included in the response. If this field is omitted, tags aren't included in the response.ServiceField
public void setInclude(Collection<String> include)
Determines whether you want to see the resource tags for the service. If TAGS
is specified, the tags
are included in the response. If this field is omitted, tags aren't included in the response.
include
- Determines whether you want to see the resource tags for the service. If TAGS
is specified,
the tags are included in the response. If this field is omitted, tags aren't included in the response.ServiceField
public DescribeServicesRequest withInclude(String... include)
Determines whether you want to see the resource tags for the service. If TAGS
is specified, the tags
are included in the response. If this field is omitted, tags aren't included in the response.
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 you want to see the resource tags for the service. If TAGS
is specified,
the tags are included in the response. If this field is omitted, tags aren't included in the response.ServiceField
public DescribeServicesRequest withInclude(Collection<String> include)
Determines whether you want to see the resource tags for the service. If TAGS
is specified, the tags
are included in the response. If this field is omitted, tags aren't included in the response.
include
- Determines whether you want to see the resource tags for the service. If TAGS
is specified,
the tags are included in the response. If this field is omitted, tags aren't included in the response.ServiceField
public DescribeServicesRequest withInclude(ServiceField... include)
Determines whether you want to see the resource tags for the service. If TAGS
is specified, the tags
are included in the response. If this field is omitted, tags aren't included in the response.
include
- Determines whether you want to see the resource tags for the service. If TAGS
is specified,
the tags are included in the response. If this field is omitted, tags aren't included in the response.ServiceField
public String toString()
toString
in class Object
Object.toString()
public DescribeServicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()