public class RequestEnvironmentInfoRequest extends AmazonWebServiceRequest implements java.io.Serializable
RequestEnvironmentInfo operation.
Initiates a request to compile the specified type of information of the deployed environment.
Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in
your environment. Use RetrieveEnvironmentInfo to access the compiled information.
Related Topics
| コンストラクタと説明 |
|---|
RequestEnvironmentInfoRequest()
Default constructor for a new RequestEnvironmentInfoRequest object.
|
RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RequestEnvironmentInfoRequest object.
|
RequestEnvironmentInfoRequest(java.lang.String infoType)
Constructs a new RequestEnvironmentInfoRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEnvironmentId()
The ID of the environment of the requested data.
|
java.lang.String |
getEnvironmentName()
The name of the environment of the requested data.
|
java.lang.String |
getInfoType()
The type of information to request.
|
int |
hashCode() |
void |
setEnvironmentId(java.lang.String environmentId)
The ID of the environment of the requested data.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment of the requested data.
|
void |
setInfoType(EnvironmentInfoType infoType)
The type of information to request.
|
void |
setInfoType(java.lang.String infoType)
The type of information to request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestEnvironmentInfoRequest |
withEnvironmentId(java.lang.String environmentId)
The ID of the environment of the requested data.
|
RequestEnvironmentInfoRequest |
withEnvironmentName(java.lang.String environmentName)
The name of the environment of the requested data.
|
RequestEnvironmentInfoRequest |
withInfoType(EnvironmentInfoType infoType)
The type of information to request.
|
RequestEnvironmentInfoRequest |
withInfoType(java.lang.String infoType)
The type of information to request.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic RequestEnvironmentInfoRequest()
public RequestEnvironmentInfoRequest(java.lang.String infoType)
infoType - The type of information to request.public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType - The type of information to request.public java.lang.String getEnvironmentId()
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 void setEnvironmentId(java.lang.String environmentId)
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 RequestEnvironmentInfoRequest withEnvironmentId(java.lang.String environmentId)
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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String getEnvironmentName()
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.
Constraints:
Length: 4 - 23
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 setEnvironmentName(java.lang.String environmentName)
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.
Constraints:
Length: 4 - 23
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 RequestEnvironmentInfoRequest withEnvironmentName(java.lang.String environmentName)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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 java.lang.String getInfoType()
Constraints:
Allowed Values: tail
EnvironmentInfoTypepublic void setInfoType(java.lang.String infoType)
Constraints:
Allowed Values: tail
infoType - The type of information to request.EnvironmentInfoTypepublic RequestEnvironmentInfoRequest withInfoType(java.lang.String infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information to request.EnvironmentInfoTypepublic void setInfoType(EnvironmentInfoType infoType)
Constraints:
Allowed Values: tail
infoType - The type of information to request.EnvironmentInfoTypepublic RequestEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tail
infoType - The type of information to request.EnvironmentInfoTypepublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object