public class DescribeServicesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cluster
The name of the cluster that hosts the service to describe.
|
private SdkInternalList<java.lang.String> |
services
A list of services to describe.
|
NOOP
Constructor and Description |
---|
DescribeServicesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCluster()
The name of the cluster that hosts the service to describe.
|
java.util.List<java.lang.String> |
getServices()
A list of services to describe.
|
int |
hashCode() |
void |
setCluster(java.lang.String cluster)
The name of the cluster that hosts the service to describe.
|
void |
setServices(java.util.Collection<java.lang.String> services)
A list of services to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServicesRequest |
withCluster(java.lang.String cluster)
The name of the cluster that hosts the service to describe.
|
DescribeServicesRequest |
withServices(java.util.Collection<java.lang.String> services)
A list of services to describe.
|
DescribeServicesRequest |
withServices(java.lang.String... services)
A list of services to describe.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String cluster
The name of the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.
private SdkInternalList<java.lang.String> services
A list of services to describe.
public void setCluster(java.lang.String cluster)
The name of the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.
cluster
- The name of the cluster that hosts the service to describe. If you
do not specify a cluster, the default cluster is assumed.public java.lang.String getCluster()
The name of the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.
public DescribeServicesRequest withCluster(java.lang.String cluster)
The name of the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.
cluster
- The name of the cluster that hosts the service to describe. If you
do not specify a cluster, the default cluster is assumed.public java.util.List<java.lang.String> getServices()
A list of services to describe.
public void setServices(java.util.Collection<java.lang.String> services)
A list of services to describe.
services
- A list of services to describe.public DescribeServicesRequest withServices(java.lang.String... services)
A list of services to describe.
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.public DescribeServicesRequest withServices(java.util.Collection<java.lang.String> services)
A list of services to describe.
services
- A list of services to describe.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeServicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()