Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class RequestEnvironmentInfoRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.RequestEnvironmentInfoRequest

public class RequestEnvironmentInfoRequest
extends AmazonWebServiceRequest

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

See Also:
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

RequestEnvironmentInfoRequest

public RequestEnvironmentInfoRequest()
Default constructor for a new RequestEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


RequestEnvironmentInfoRequest

public RequestEnvironmentInfoRequest(String infoType)
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

public RequestEnvironmentInfoRequest(EnvironmentInfoType infoType)
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 Detail

getEnvironmentId

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.

Returns:
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.


setEnvironmentId

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.

Parameters:
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.


withEnvironmentId

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getEnvironmentName

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.

Constraints:
Length: 4 - 23

Returns:
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.


setEnvironmentName

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.

Constraints:
Length: 4 - 23

Parameters:
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.


withEnvironmentName

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 4 - 23

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getInfoType

public String getInfoType()
The type of information to request.

Constraints:
Allowed Values: tail

Returns:
The type of information to request.
See Also:
EnvironmentInfoType

setInfoType

public void setInfoType(String infoType)
The type of information to request.

Constraints:
Allowed Values: tail

Parameters:
infoType - The type of information to request.
See Also:
EnvironmentInfoType

withInfoType

public RequestEnvironmentInfoRequest withInfoType(String infoType)
The type of information to request.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: tail

Parameters:
infoType - The type of information to request.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
EnvironmentInfoType

setInfoType

public void setInfoType(EnvironmentInfoType infoType)
The type of information to request.

Constraints:
Allowed Values: tail

Parameters:
infoType - The type of information to request.
See Also:
EnvironmentInfoType

withInfoType

public RequestEnvironmentInfoRequest withInfoType(EnvironmentInfoType infoType)
The type of information to request.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: tail

Parameters:
infoType - The type of information to request.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
EnvironmentInfoType

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.