public class DescribeEnvironmentResourcesRequest extends AmazonWebServiceRequest implements Serializable
DescribeEnvironmentResources operation.
Returns AWS resources for this environment.
NOOP| Constructor and Description |
|---|
DescribeEnvironmentResourcesRequest()
Default constructor for a new DescribeEnvironmentResourcesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the environment to retrieve AWS resource usage data.
|
String |
getEnvironmentName()
The name of the environment to retrieve AWS resource usage data.
|
int |
hashCode() |
void |
setEnvironmentId(String environmentId)
The ID of the environment to retrieve AWS resource usage data.
|
void |
setEnvironmentName(String environmentName)
The name of the environment to retrieve AWS resource usage data.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentResourcesRequest |
withEnvironmentId(String environmentId)
The ID of the environment to retrieve AWS resource usage data.
|
DescribeEnvironmentResourcesRequest |
withEnvironmentName(String environmentName)
The name of the environment to retrieve AWS resource usage data.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeEnvironmentResourcesRequest()
public String getEnvironmentId()
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 void setEnvironmentId(String environmentId)
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 DescribeEnvironmentResourcesRequest withEnvironmentId(String environmentId)
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Returns a reference to this object so that method calls can be chained together.
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 String getEnvironmentName()
Condition: You must specify either this or an EnvironmentId, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Constraints:
Length: 4 - 23
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 setEnvironmentName(String environmentName)
Condition: You must specify either this or an EnvironmentId, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Constraints:
Length: 4 - 23
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 DescribeEnvironmentResourcesRequest withEnvironmentName(String environmentName)
Condition: You must specify either this or an EnvironmentId, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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 String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.