public class RetrieveEnvironmentInfoRequest extends AmazonWebServiceRequest implements Serializable
RetrieveEnvironmentInfo operation.
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
NOOP| Constructor and Description |
|---|
RetrieveEnvironmentInfoRequest()
Default constructor for a new RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(String infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic RetrieveEnvironmentInfoRequest()
public RetrieveEnvironmentInfoRequest(String infoType)
infoType - The type of information to retrieve.public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType - The type of information to retrieve.public String getEnvironmentId()
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 void setEnvironmentId(String environmentId)
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 RetrieveEnvironmentInfoRequest withEnvironmentId(String environmentId)
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.
Returns a reference to this object so that method calls can be chained together.
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 getEnvironmentName()
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.
Constraints:
Length: 4 - 23
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 setEnvironmentName(String environmentName)
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.
Constraints:
Length: 4 - 23
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 RetrieveEnvironmentInfoRequest withEnvironmentName(String environmentName)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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 getInfoType()
Constraints:
Allowed Values: tail
EnvironmentInfoTypepublic void setInfoType(String infoType)
Constraints:
Allowed Values: tail
infoType - The type of information to retrieve.EnvironmentInfoTypepublic RetrieveEnvironmentInfoRequest withInfoType(String infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information to retrieve.EnvironmentInfoTypepublic void setInfoType(EnvironmentInfoType infoType)
Constraints:
Allowed Values: tail
infoType - The type of information to retrieve.EnvironmentInfoTypepublic RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information to retrieve.EnvironmentInfoTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.