public class RetrieveEnvironmentInfoRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to download logs retrieved with RequestEnvironmentInfo.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
environmentId
The ID of the data's environment.
|
private java.lang.String |
environmentName
The name of the data's environment.
|
private java.lang.String |
infoType
The type of information to retrieve.
|
NOOP
Constructor and Description |
---|
RetrieveEnvironmentInfoRequest()
Default constructor for RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
RetrieveEnvironmentInfoRequest(java.lang.String infoType)
Constructs a new RetrieveEnvironmentInfoRequest object.
|
Modifier and Type | Method and Description |
---|---|
RetrieveEnvironmentInfoRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEnvironmentId()
The ID of the data's environment.
|
java.lang.String |
getEnvironmentName()
The name of the data's environment.
|
java.lang.String |
getInfoType()
The type of information to retrieve.
|
int |
hashCode() |
void |
setEnvironmentId(java.lang.String environmentId)
The ID of the data's environment.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the data's environment.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
|
void |
setInfoType(java.lang.String infoType)
The type of information to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RetrieveEnvironmentInfoRequest |
withEnvironmentId(java.lang.String environmentId)
The ID of the data's environment.
|
RetrieveEnvironmentInfoRequest |
withEnvironmentName(java.lang.String environmentName)
The name of the data's environment.
|
RetrieveEnvironmentInfoRequest |
withInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
|
RetrieveEnvironmentInfoRequest |
withInfoType(java.lang.String infoType)
The type of information to retrieve.
|
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 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.
private java.lang.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.
private java.lang.String infoType
The type of information to retrieve.
public RetrieveEnvironmentInfoRequest()
public RetrieveEnvironmentInfoRequest(java.lang.String infoType)
infoType
- The type of information to retrieve.public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType
- The type of information to retrieve.public void setEnvironmentId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String infoType)
The type of information to retrieve.
infoType
- The type of information to retrieve.EnvironmentInfoType
public java.lang.String getInfoType()
The type of information to retrieve.
EnvironmentInfoType
public RetrieveEnvironmentInfoRequest withInfoType(java.lang.String infoType)
The type of information to retrieve.
infoType
- The type of information to retrieve.EnvironmentInfoType
public void setInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
infoType
- The type of information to retrieve.EnvironmentInfoType
public RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
infoType
- The type of information to retrieve.EnvironmentInfoType
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 RetrieveEnvironmentInfoRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()