Class DescribeEnvironmentHealthRequest
- 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.booleanSpecifies the response elements you wish to receive.Specifies the AWS Elastic Beanstalk environment ID.Specifies the AWS Elastic Beanstalk environment name.inthashCode()voidsetAttributeNames(Collection<String> attributeNames) Specifies the response elements you wish to receive.voidsetEnvironmentId(String environmentId) Specifies the AWS Elastic Beanstalk environment ID.voidsetEnvironmentName(String environmentName) Specifies the AWS Elastic Beanstalk environment name.toString()Returns a string representation of this object; useful for testing and debugging.withAttributeNames(EnvironmentHealthAttribute... 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.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
-
DescribeEnvironmentHealthRequest
public DescribeEnvironmentHealthRequest()
-
-
Method Details
-
setEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentName- Specifies the AWS Elastic Beanstalk environment name.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Specifies the AWS Elastic Beanstalk environment name.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentName
Specifies the AWS Elastic Beanstalk environment name.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentName- Specifies the AWS Elastic Beanstalk environment name.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentId- Specifies the AWS Elastic Beanstalk environment ID.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Specifies the AWS Elastic Beanstalk environment ID.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentId
Specifies the AWS Elastic Beanstalk environment ID.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentId- Specifies the AWS Elastic Beanstalk environment ID.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- 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 the name of the environment.
- Returns:
- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.
- See Also:
-
setAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.
- Parameters:
attributeNames- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.- See Also:
-
withAttributeNames
Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.
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 the name of the environment.- 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 the name of the environment.
- Parameters:
attributeNames- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withAttributeNames
public DescribeEnvironmentHealthRequest withAttributeNames(EnvironmentHealthAttribute... attributeNames) Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.
- Parameters:
attributeNames- Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns the name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-