public class RetrieveEnvironmentInfoRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RetrieveEnvironmentInfoRequest()
Default constructor for RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(String infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
RetrieveEnvironmentInfoRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the data's environment.
|
String |
getEnvironmentName()
The name of the data's environment.
|
String |
getInfoType()
The type of information to retrieve.
|
int |
hashCode() |
void |
setEnvironmentId(String environmentId)
The ID of the data's environment.
|
void |
setEnvironmentName(String environmentName)
The name of the data's environment.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
|
void |
setInfoType(String infoType)
The type of information to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RetrieveEnvironmentInfoRequest |
withEnvironmentId(String environmentId)
The ID of the data's environment.
|
RetrieveEnvironmentInfoRequest |
withEnvironmentName(String environmentName)
The name of the data's environment.
|
RetrieveEnvironmentInfoRequest |
withInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
|
RetrieveEnvironmentInfoRequest |
withInfoType(String infoType)
The type of information to retrieve.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic RetrieveEnvironmentInfoRequest()
public RetrieveEnvironmentInfoRequest(String infoType)
infoType - The type of information to retrieve.public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType - The type of information to retrieve.public void setEnvironmentId(String environmentId)
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
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 data's environment.
If no such environment is found, returns an
InvalidParameterValue 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 String getEnvironmentId()
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
If no such environment is found, returns an
InvalidParameterValue 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 RetrieveEnvironmentInfoRequest withEnvironmentId(String environmentId)
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
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 data's environment.
If no such environment is found, returns an
InvalidParameterValue 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 setEnvironmentName(String environmentName)
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
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 data's environment.
If no such environment is found, returns an
InvalidParameterValue 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 String getEnvironmentName()
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
If no such environment is found, returns an
InvalidParameterValue 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 RetrieveEnvironmentInfoRequest withEnvironmentName(String environmentName)
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValue error.
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 data's environment.
If no such environment is found, returns an
InvalidParameterValue 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 void setInfoType(String infoType)
The type of information to retrieve.
infoType - The type of information to retrieve.EnvironmentInfoTypepublic String getInfoType()
The type of information to retrieve.
EnvironmentInfoTypepublic RetrieveEnvironmentInfoRequest withInfoType(String infoType)
The type of information to retrieve.
infoType - The type of information to retrieve.EnvironmentInfoTypepublic void setInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
infoType - The type of information to retrieve.EnvironmentInfoTypepublic RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
infoType - The type of information to retrieve.EnvironmentInfoTypepublic String toString()
toString in class ObjectObject.toString()public RetrieveEnvironmentInfoRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.