Class RetrieveEnvironmentInfoRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Request to download logs retrieved with RequestEnvironmentInfo.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RetrieveEnvironmentInfoRequest object.Constructs a new RetrieveEnvironmentInfoRequest object.RetrieveEnvironmentInfoRequest
(String infoType) Constructs a new RetrieveEnvironmentInfoRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the data's environment.The name of the data's environment.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.toString()
Returns a string representation of this object; useful for testing and debugging.withEnvironmentId
(String environmentId) The ID of the data's environment.withEnvironmentName
(String environmentName) The name of the data's environment.withInfoType
(EnvironmentInfoType infoType) The type of information to retrieve.withInfoType
(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 Details
-
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
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
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 Details
-
setEnvironmentId
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.- Parameters:
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.
-
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.- Returns:
- 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.
-
withEnvironmentId
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentName
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.- Parameters:
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.
-
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.- Returns:
- 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.
-
withEnvironmentName
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInfoType
The type of information to retrieve.
- Parameters:
infoType
- The type of information to retrieve.- See Also:
-
getInfoType
The type of information to retrieve.
- Returns:
- The type of information to retrieve.
- See Also:
-
withInfoType
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:
-
setInfoType
The type of information to retrieve.
- Parameters:
infoType
- The type of information to retrieve.- See Also:
-
withInfoType
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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-