public class DescribeInstancesHealthRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
See the example below to learn how to create a request body.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
attributeNames
Specifies the response elements you wish to receive.
|
private java.lang.String |
environmentId
Specifies the AWS Elastic Beanstalk environment ID.
|
private java.lang.String |
environmentName
Specifies the AWS Elastic Beanstalk environment name.
|
private java.lang.String |
nextToken
Specifies the next token of the request.
|
NOOP
Constructor and Description |
---|
DescribeInstancesHealthRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancesHealthRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAttributeNames()
Specifies the response elements you wish to receive.
|
java.lang.String |
getEnvironmentId()
Specifies the AWS Elastic Beanstalk environment ID.
|
java.lang.String |
getEnvironmentName()
Specifies the AWS Elastic Beanstalk environment name.
|
java.lang.String |
getNextToken()
Specifies the next token of the request.
|
int |
hashCode() |
void |
setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Specifies the response elements you wish to receive.
|
void |
setEnvironmentId(java.lang.String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
|
void |
setEnvironmentName(java.lang.String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
|
void |
setNextToken(java.lang.String nextToken)
Specifies the next token of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstancesHealthRequest |
withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Specifies the response elements you wish to receive.
|
DescribeInstancesHealthRequest |
withAttributeNames(InstancesHealthAttribute... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeInstancesHealthRequest |
withAttributeNames(java.lang.String... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeInstancesHealthRequest |
withEnvironmentId(java.lang.String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
|
DescribeInstancesHealthRequest |
withEnvironmentName(java.lang.String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
|
DescribeInstancesHealthRequest |
withNextToken(java.lang.String nextToken)
Specifies the next token of the request.
|
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 environmentName
Specifies the AWS Elastic Beanstalk environment name.
private java.lang.String environmentId
Specifies the AWS Elastic Beanstalk environment ID.
private SdkInternalList<java.lang.String> attributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
private java.lang.String nextToken
Specifies the next token of the request.
public void setEnvironmentName(java.lang.String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
environmentName
- Specifies the AWS Elastic Beanstalk environment name.public java.lang.String getEnvironmentName()
Specifies the AWS Elastic Beanstalk environment name.
public DescribeInstancesHealthRequest withEnvironmentName(java.lang.String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
environmentName
- Specifies the AWS Elastic Beanstalk environment name.public void setEnvironmentId(java.lang.String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
environmentId
- Specifies the AWS Elastic Beanstalk environment ID.public java.lang.String getEnvironmentId()
Specifies the AWS Elastic Beanstalk environment ID.
public DescribeInstancesHealthRequest withEnvironmentId(java.lang.String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
environmentId
- Specifies the AWS Elastic Beanstalk environment ID.public java.util.List<java.lang.String> getAttributeNames()
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
InstancesHealthAttribute
public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
attributeNames
- Specifies the response elements you wish to receive. If no
attribute names are specified, AWS Elastic Beanstalk only returns
a list of instances.InstancesHealthAttribute
public DescribeInstancesHealthRequest withAttributeNames(java.lang.String... attributeNames)
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)
or
withAttributeNames(java.util.Collection)
if you want to override
the existing values.
attributeNames
- Specifies the response elements you wish to receive. If no
attribute names are specified, AWS Elastic Beanstalk only returns
a list of instances.InstancesHealthAttribute
public DescribeInstancesHealthRequest withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
attributeNames
- Specifies the response elements you wish to receive. If no
attribute names are specified, AWS Elastic Beanstalk only returns
a list of instances.InstancesHealthAttribute
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.
attributeNames
- Specifies the response elements you wish to receive. If no
attribute names are specified, AWS Elastic Beanstalk only returns
a list of instances.InstancesHealthAttribute
public void setNextToken(java.lang.String nextToken)
Specifies the next token of the request.
nextToken
- Specifies the next token of the request.public java.lang.String getNextToken()
Specifies the next token of the request.
public DescribeInstancesHealthRequest withNextToken(java.lang.String nextToken)
Specifies the next token of the request.
nextToken
- Specifies the next token of the request.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 DescribeInstancesHealthRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()