public class DescribeEnvironmentHealthRequest 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.
|
NOOP
Constructor and Description |
---|
DescribeEnvironmentHealthRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentHealthRequest |
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.
|
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(EnvironmentHealthAttribute... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(java.lang.String... attributeNames)
Specifies the response elements you wish to receive.
|
DescribeEnvironmentHealthRequest |
withEnvironmentId(java.lang.String environmentId)
Specifies the AWS Elastic Beanstalk environment ID.
|
DescribeEnvironmentHealthRequest |
withEnvironmentName(java.lang.String environmentName)
Specifies the AWS Elastic Beanstalk environment name.
|
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.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
private java.lang.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.
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 the name of the environment.
public void setEnvironmentName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 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 the name of the environment.
EnvironmentHealthAttribute
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 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(java.lang.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(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 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 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 DescribeEnvironmentHealthRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()