@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrieveEnvironmentInfoRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to download logs retrieved with RequestEnvironmentInfo.
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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.EnvironmentInfoType
public String getInfoType()
The type of information to retrieve.
EnvironmentInfoType
public RetrieveEnvironmentInfoRequest withInfoType(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 String toString()
toString
in class Object
Object.toString()
public RetrieveEnvironmentInfoRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.