Class RequestEnvironmentInfoRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RequestEnvironmentInfoRequest object.Constructs a new RequestEnvironmentInfoRequest object.RequestEnvironmentInfoRequest(String infoType) Constructs a new RequestEnvironmentInfoRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe ID of the environment of the requested data.The name of the environment of the requested data.The type of information to request.inthashCode()voidsetEnvironmentId(String environmentId) The ID of the environment of the requested data.voidsetEnvironmentName(String environmentName) The name of the environment of the requested data.voidsetInfoType(EnvironmentInfoType infoType) The type of information to request.voidsetInfoType(String infoType) The type of information to request.toString()Returns a string representation of this object; useful for testing and debugging.withEnvironmentId(String environmentId) The ID of the environment of the requested data.withEnvironmentName(String environmentName) The name of the environment of the requested data.withInfoType(EnvironmentInfoType infoType) The type of information to request.withInfoType(String infoType) The type of information to request.Methods inherited from class 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
-
RequestEnvironmentInfoRequest
public RequestEnvironmentInfoRequest()Default constructor for RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
RequestEnvironmentInfoRequest
Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
infoType- The type of information to request.
-
RequestEnvironmentInfoRequest
Constructs a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
infoType- The type of information to request.
-
-
Method Details
-
setEnvironmentId
The ID of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentId
The ID of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentId
The ID of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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
The name of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
getEnvironmentName
The name of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParametererror.
-
withEnvironmentName
The name of the environment of the requested data.
If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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 environment of the requested data.If no such environment is found,
RequestEnvironmentInforeturns anInvalidParameterValueerror.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
The type of information to request.
- Parameters:
infoType- The type of information to request.- See Also:
-
getInfoType
The type of information to request.
- Returns:
- The type of information to request.
- See Also:
-
withInfoType
The type of information to request.
- Parameters:
infoType- The type of information to request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInfoType
The type of information to request.
- Parameters:
infoType- The type of information to request.- See Also:
-
withInfoType
The type of information to request.
- Parameters:
infoType- The type of information to request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
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:
-