Class RetrieveEnvironmentInfoRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.RetrieveEnvironmentInfoRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RetrieveEnvironmentInfoRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to download logs retrieved with RequestEnvironmentInfo.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RetrieveEnvironmentInfoRequest()Default constructor for RetrieveEnvironmentInfoRequest object.RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)Constructs a new RetrieveEnvironmentInfoRequest object.RetrieveEnvironmentInfoRequest(String infoType)Constructs a new RetrieveEnvironmentInfoRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetrieveEnvironmentInfoRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetEnvironmentId()The ID of the data's environment.StringgetEnvironmentName()The name of the data's environment.StringgetInfoType()The type of information to retrieve.inthashCode()voidsetEnvironmentId(String environmentId)The ID of the data's environment.voidsetEnvironmentName(String environmentName)The name of the data's environment.voidsetInfoType(EnvironmentInfoType infoType)The type of information to retrieve.voidsetInfoType(String infoType)The type of information to retrieve.StringtoString()Returns a string representation of this object; useful for testing and debugging.RetrieveEnvironmentInfoRequestwithEnvironmentId(String environmentId)The ID of the data's environment.RetrieveEnvironmentInfoRequestwithEnvironmentName(String environmentName)The name of the data's environment.RetrieveEnvironmentInfoRequestwithInfoType(EnvironmentInfoType infoType)The type of information to retrieve.RetrieveEnvironmentInfoRequestwithInfoType(String infoType)The type of information to retrieve.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Constructor Detail
-
RetrieveEnvironmentInfoRequest
public RetrieveEnvironmentInfoRequest()
Default constructor for RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
RetrieveEnvironmentInfoRequest
public RetrieveEnvironmentInfoRequest(String infoType)
Constructs a new RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
infoType- The type of information to retrieve.
-
RetrieveEnvironmentInfoRequest
public RetrieveEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
infoType- The type of information to retrieve.
-
-
Method Detail
-
setEnvironmentId
public void setEnvironmentId(String environmentId)
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentId- The ID of the data's environment.If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentId
public String getEnvironmentId()
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentId
public RetrieveEnvironmentInfoRequest withEnvironmentId(String environmentId)
The ID of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentId- The ID of the data's environment.If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentName
public void setEnvironmentName(String environmentName)
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentName- The name of the data's environment.If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentName
public String getEnvironmentName()
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentName
public RetrieveEnvironmentInfoRequest withEnvironmentName(String environmentName)
The name of the data's environment.
If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Parameters:
environmentName- The name of the data's environment.If no such environment is found, returns an
InvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInfoType
public void setInfoType(String infoType)
The type of information to retrieve.
- Parameters:
infoType- The type of information to retrieve.- See Also:
EnvironmentInfoType
-
getInfoType
public String getInfoType()
The type of information to retrieve.
- Returns:
- The type of information to retrieve.
- See Also:
EnvironmentInfoType
-
withInfoType
public RetrieveEnvironmentInfoRequest withInfoType(String infoType)
The type of information to retrieve.
- Parameters:
infoType- The type of information to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentInfoType
-
setInfoType
public void setInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
- Parameters:
infoType- The type of information to retrieve.- See Also:
EnvironmentInfoType
-
withInfoType
public RetrieveEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
The type of information to retrieve.
- Parameters:
infoType- The type of information to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentInfoType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RetrieveEnvironmentInfoRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-