@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestEnvironmentInfoRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
NOOP| Constructor and Description |
|---|
RequestEnvironmentInfoRequest()
Default constructor for RequestEnvironmentInfoRequest object.
|
RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RequestEnvironmentInfoRequest object.
|
RequestEnvironmentInfoRequest(String infoType)
Constructs a new RequestEnvironmentInfoRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
RequestEnvironmentInfoRequest |
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 environment of the requested data.
|
String |
getEnvironmentName()
The name of the environment of the requested data.
|
String |
getInfoType()
The type of information to request.
|
int |
hashCode() |
void |
setEnvironmentId(String environmentId)
The ID of the environment of the requested data.
|
void |
setEnvironmentName(String environmentName)
The name of the environment of the requested data.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information to request.
|
void |
setInfoType(String infoType)
The type of information to request.
|
String |
toString()
Returns a string representation of this object.
|
RequestEnvironmentInfoRequest |
withEnvironmentId(String environmentId)
The ID of the environment of the requested data.
|
RequestEnvironmentInfoRequest |
withEnvironmentName(String environmentName)
The name of the environment of the requested data.
|
RequestEnvironmentInfoRequest |
withInfoType(EnvironmentInfoType infoType)
The type of information to request.
|
RequestEnvironmentInfoRequest |
withInfoType(String infoType)
The type of information to request.
|
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, withSdkRequestTimeoutpublic RequestEnvironmentInfoRequest()
public RequestEnvironmentInfoRequest(String infoType)
infoType - The type of information to request.public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType - The type of information to request.public void setEnvironmentId(String environmentId)
The ID of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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, RequestEnvironmentInfo 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 RequestEnvironmentInfoRequest withEnvironmentId(String environmentId)
The ID of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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, RequestEnvironmentInfo 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 RequestEnvironmentInfoRequest withEnvironmentName(String environmentName)
The name of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo 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 request.
infoType - The type of information to request.EnvironmentInfoTypepublic String getInfoType()
The type of information to request.
EnvironmentInfoTypepublic RequestEnvironmentInfoRequest withInfoType(String infoType)
The type of information to request.
infoType - The type of information to request.EnvironmentInfoTypepublic void setInfoType(EnvironmentInfoType infoType)
The type of information to request.
infoType - The type of information to request.EnvironmentInfoTypepublic RequestEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
The type of information to request.
infoType - The type of information to request.EnvironmentInfoTypepublic String toString()
toString in class ObjectObject.toString()public RequestEnvironmentInfoRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()