|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.RequestEnvironmentInfoRequest
public class RequestEnvironmentInfoRequest
Container for the parameters to the 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
AWSElasticBeanstalk.requestEnvironmentInfo(RequestEnvironmentInfoRequest)
Constructor Summary | |
---|---|
RequestEnvironmentInfoRequest()
Default constructor for a new RequestEnvironmentInfoRequest object. |
|
RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
Constructs a new RequestEnvironmentInfoRequest object. |
|
RequestEnvironmentInfoRequest(String infoType)
Constructs a new RequestEnvironmentInfoRequest object. |
Method Summary | |
---|---|
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; useful for testing and debugging. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RequestEnvironmentInfoRequest()
public RequestEnvironmentInfoRequest(String infoType)
infoType
- The type of information to request.public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
infoType
- The type of information to request.Method Detail |
---|
public 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(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(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 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(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(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 String getInfoType()
Constraints:
Allowed Values: tail
EnvironmentInfoType
public void setInfoType(String infoType)
Constraints:
Allowed Values: tail
infoType
- The type of information to request.EnvironmentInfoType
public RequestEnvironmentInfoRequest withInfoType(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.
EnvironmentInfoType
public void setInfoType(EnvironmentInfoType infoType)
Constraints:
Allowed Values: tail
infoType
- The type of information to request.EnvironmentInfoType
public 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.
EnvironmentInfoType
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |