public class DescribeEnvironmentResourcesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to describe the resources in an environment.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
environmentId
The ID of the environment to retrieve AWS resource usage data.
|
private java.lang.String |
environmentName
The name of the environment to retrieve AWS resource usage data.
|
NOOP
Constructor and Description |
---|
DescribeEnvironmentResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentResourcesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEnvironmentId()
The ID of the environment to retrieve AWS resource usage data.
|
java.lang.String |
getEnvironmentName()
The name of the environment to retrieve AWS resource usage data.
|
int |
hashCode() |
void |
setEnvironmentId(java.lang.String environmentId)
The ID of the environment to retrieve AWS resource usage data.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment to retrieve AWS resource usage data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentResourcesRequest |
withEnvironmentId(java.lang.String environmentId)
The ID of the environment to retrieve AWS resource usage data.
|
DescribeEnvironmentResourcesRequest |
withEnvironmentName(java.lang.String environmentName)
The name of the environment to retrieve AWS resource usage data.
|
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 environmentId
The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
private java.lang.String environmentName
The name of the environment to retrieve AWS resource usage data.
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)
The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentId
- The ID of the environment to retrieve AWS resource usage data.
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()
The ID of the environment to retrieve AWS resource usage data.
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 DescribeEnvironmentResourcesRequest withEnvironmentId(java.lang.String environmentId)
The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentId
- The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public void setEnvironmentName(java.lang.String environmentName)
The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to retrieve AWS resource usage data.
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()
The name of the environment to retrieve AWS resource usage data.
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 DescribeEnvironmentResourcesRequest withEnvironmentName(java.lang.String environmentName)
The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to retrieve AWS resource usage data.
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 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 DescribeEnvironmentResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()