@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstancesHealthStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetInstancesHealthStatusRequest() |
Modifier and Type | Method and Description |
---|---|
GetInstancesHealthStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInstances()
An array that contains the IDs of all the instances that you want to get the health status for.
|
Integer |
getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus request. |
String |
getNextToken()
For the first
GetInstancesHealthStatus request, omit this value. |
String |
getServiceId()
The ID of the service that the instance is associated with.
|
int |
hashCode() |
void |
setInstances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for.
|
void |
setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus request. |
void |
setNextToken(String nextToken)
For the first
GetInstancesHealthStatus request, omit this value. |
void |
setServiceId(String serviceId)
The ID of the service that the instance is associated with.
|
String |
toString()
Returns a string representation of this object.
|
GetInstancesHealthStatusRequest |
withInstances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for.
|
GetInstancesHealthStatusRequest |
withInstances(String... instances)
An array that contains the IDs of all the instances that you want to get the health status for.
|
GetInstancesHealthStatusRequest |
withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus request. |
GetInstancesHealthStatusRequest |
withNextToken(String nextToken)
For the first
GetInstancesHealthStatus request, omit this value. |
GetInstancesHealthStatusRequest |
withServiceId(String serviceId)
The ID of the service that the instance is associated with.
|
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 setServiceId(String serviceId)
The ID of the service that the instance is associated with.
serviceId
- The ID of the service that the instance is associated with.public String getServiceId()
The ID of the service that the instance is associated with.
public GetInstancesHealthStatusRequest withServiceId(String serviceId)
The ID of the service that the instance is associated with.
serviceId
- The ID of the service that the instance is associated with.public List<String> getInstances()
An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are associated
with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
If you omit Instances
, Cloud Map returns the health status for all the instances that are
associated with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
public void setInstances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are associated
with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
instances
- An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are
associated with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
public GetInstancesHealthStatusRequest withInstances(String... instances)
An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are associated
with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are
associated with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
public GetInstancesHealthStatusRequest withInstances(Collection<String> instances)
An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are associated
with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
instances
- An array that contains the IDs of all the instances that you want to get the health status for.
If you omit Instances
, Cloud Map returns the health status for all the instances that are
associated with the specified service.
To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.
public void setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.
maxResults
- The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
,
Cloud Map returns up to 100 instances.public Integer getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
,
Cloud Map returns up to 100 instances.public GetInstancesHealthStatusRequest withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
, Cloud
Map returns up to 100 instances.
maxResults
- The maximum number of instances that you want Cloud Map to return in the response to a
GetInstancesHealthStatus
request. If you don't specify a value for MaxResults
,
Cloud Map returns up to 100 instances.public void setNextToken(String nextToken)
For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
nextToken
- For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
public String getNextToken()
For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
public GetInstancesHealthStatusRequest withNextToken(String nextToken)
For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
nextToken
- For the first GetInstancesHealthStatus
request, omit this value.
If more than MaxResults
instances match the specified criteria, you can submit another
GetInstancesHealthStatus
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
public String toString()
toString
in class Object
Object.toString()
public GetInstancesHealthStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()