@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
Specify the response elements to return.
|
String |
getEnvironmentId()
Specify the environment by ID.
|
String |
getEnvironmentName()
Specify the environment by name.
|
int |
hashCode() |
void |
setAttributeNames(Collection<String> attributeNames)
Specify the response elements to return.
|
void |
setEnvironmentId(String environmentId)
Specify the environment by ID.
|
void |
setEnvironmentName(String environmentName)
Specify the environment by name.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(Collection<String> attributeNames)
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(EnvironmentHealthAttribute... attributeNames)
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest |
withAttributeNames(String... attributeNames)
Specify the response elements to return.
|
DescribeEnvironmentHealthRequest |
withEnvironmentId(String environmentId)
Specify the environment by ID.
|
DescribeEnvironmentHealthRequest |
withEnvironmentName(String environmentName)
Specify the environment by name.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEnvironmentName(String environmentName)
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
environmentName
- Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
public String getEnvironmentName()
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
You must specify either this or an EnvironmentName, or both.
public DescribeEnvironmentHealthRequest withEnvironmentName(String environmentName)
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
environmentName
- Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
public void setEnvironmentId(String environmentId)
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
environmentId
- Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
public String getEnvironmentId()
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
You must specify either this or an EnvironmentName, or both.
public DescribeEnvironmentHealthRequest withEnvironmentId(String environmentId)
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
environmentId
- Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
public List<String> getAttributeNames()
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
public void setAttributeNames(Collection<String> attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
public DescribeEnvironmentHealthRequest withAttributeNames(String... attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, 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
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
public DescribeEnvironmentHealthRequest withAttributeNames(Collection<String> attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, returns the name of the environment.EnvironmentHealthAttribute
public DescribeEnvironmentHealthRequest withAttributeNames(EnvironmentHealthAttribute... attributeNames)
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute
names are specified, returns the name of the environment.
attributeNames
- Specify the response elements to return. To retrieve all attributes, set to All
. If no
attribute names are specified, 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()