Class DescribeInstancesHealthRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
See the example below to learn how to create a request body.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Specifies the response elements you wish to receive.Specifies the AWS Elastic Beanstalk environment ID.Specifies the AWS Elastic Beanstalk environment name.Specifies the next token of the request.int
hashCode()
void
setAttributeNames
(Collection<String> attributeNames) Specifies the response elements you wish to receive.void
setEnvironmentId
(String environmentId) Specifies the AWS Elastic Beanstalk environment ID.void
setEnvironmentName
(String environmentName) Specifies the AWS Elastic Beanstalk environment name.void
setNextToken
(String nextToken) Specifies the next token of the request.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributeNames
(InstancesHealthAttribute... attributeNames) Specifies the response elements you wish to receive.withAttributeNames
(String... attributeNames) Specifies the response elements you wish to receive.withAttributeNames
(Collection<String> attributeNames) Specifies the response elements you wish to receive.withEnvironmentId
(String environmentId) Specifies the AWS Elastic Beanstalk environment ID.withEnvironmentName
(String environmentName) Specifies the AWS Elastic Beanstalk environment name.withNextToken
(String nextToken) Specifies the next token of the request.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DescribeInstancesHealthRequest
public DescribeInstancesHealthRequest()
-
-
Method Details
-
setEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
- Parameters:
environmentName
- Specifies the AWS Elastic Beanstalk environment name.
-
getEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
- Returns:
- Specifies the AWS Elastic Beanstalk environment name.
-
withEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
- Parameters:
environmentName
- Specifies the AWS Elastic Beanstalk environment name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
- Parameters:
environmentId
- Specifies the AWS Elastic Beanstalk environment ID.
-
getEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
- Returns:
- Specifies the AWS Elastic Beanstalk environment ID.
-
withEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
- Parameters:
environmentId
- Specifies the AWS Elastic Beanstalk environment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
- Returns:
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
- See Also:
-
setAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
- Parameters:
attributeNames
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.- See Also:
-
withAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeNames(java.util.Collection)
orwithAttributeNames(java.util.Collection)
if you want to override the existing values.- Parameters:
attributeNames
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
- Parameters:
attributeNames
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAttributeNames
public DescribeInstancesHealthRequest withAttributeNames(InstancesHealthAttribute... attributeNames) Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
- Parameters:
attributeNames
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setNextToken
Specifies the next token of the request.
- Parameters:
nextToken
- Specifies the next token of the request.
-
getNextToken
Specifies the next token of the request.
- Returns:
- Specifies the next token of the request.
-
withNextToken
Specifies the next token of the request.
- Parameters:
nextToken
- Specifies the next token of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-