public class DescribeServicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeServices operation
.
Describes the specified services running in your cluster.
NOOP
Constructor and Description |
---|
DescribeServicesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The name of the cluster that hosts the service you want to describe.
|
List<String> |
getServices()
A list of services you want to describe.
|
int |
hashCode() |
void |
setCluster(String cluster)
The name of the cluster that hosts the service you want to describe.
|
void |
setServices(Collection<String> services)
A list of services you want to describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServicesRequest |
withCluster(String cluster)
The name of the cluster that hosts the service you want to describe.
|
DescribeServicesRequest |
withServices(Collection<String> services)
A list of services you want to describe.
|
DescribeServicesRequest |
withServices(String... services)
A list of services you want to describe.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getCluster()
public void setCluster(String cluster)
cluster
- The name of the cluster that hosts the service you want to describe.public DescribeServicesRequest withCluster(String cluster)
Returns a reference to this object so that method calls can be chained together.
cluster
- The name of the cluster that hosts the service you want to describe.public List<String> getServices()
public void setServices(Collection<String> services)
services
- A list of services you want to describe.public DescribeServicesRequest withServices(String... services)
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.
Returns a reference to this object so that method calls can be chained together.
services
- A list of services you want to describe.public DescribeServicesRequest withServices(Collection<String> services)
Returns a reference to this object so that method calls can be chained together.
services
- A list of services you want to describe.public String toString()
toString
in class Object
Object.toString()
public DescribeServicesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.