public class DescribeEnvironmentHealthRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See the example below to learn how to create a request body.
NOOP
Constructor and Description |
---|
DescribeEnvironmentHealthRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentHealthRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
Specifies the response elements you wish to receive.
|
String |
getEnvironmentId()
Specifies the AWS Elastic Beanstalk environment ID.
|
String |
getEnvironmentName()
Specifies the AWS Elastic Beanstalk environment name.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(Collection<String> attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(EnvironmentHealthAttribute... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(String... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withEnvironmentId(String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
|
DescribeEnvironmentHealthRequest |
withEnvironmentName(String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEnvironmentName(String 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
MissingRequiredParameter
error.
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
MissingRequiredParameter
error.
public String 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
MissingRequiredParameter
error.
Condition: You must specify either this or an EnvironmentId, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public DescribeEnvironmentHealthRequest withEnvironmentName(String 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
MissingRequiredParameter
error.
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
MissingRequiredParameter
error.
public void setEnvironmentId(String 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
MissingRequiredParameter
error.
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
MissingRequiredParameter
error.
public String 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
MissingRequiredParameter
error.
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public DescribeEnvironmentHealthRequest withEnvironmentId(String 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
MissingRequiredParameter
error.
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
MissingRequiredParameter
error.
public List<String> 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.
EnvironmentHealthAttribute
public void setAttributeNames(Collection<String> 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.
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.EnvironmentHealthAttribute
public DescribeEnvironmentHealthRequest withAttributeNames(String... 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.
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
the name of the environment.EnvironmentHealthAttribute
public DescribeEnvironmentHealthRequest withAttributeNames(Collection<String> 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.
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.EnvironmentHealthAttribute
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.
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.EnvironmentHealthAttribute
public String toString()
toString
in class Object
Object.toString()
public DescribeEnvironmentHealthRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.