com.amazonaws.services.elasticbeanstalk.model
Class RetrieveEnvironmentInfoRequest

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

public class RetrieveEnvironmentInfoRequest
extends AmazonWebServiceRequest

Container for the parameters to the RetrieveEnvironmentInfo operation.

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

See Also:
AWSElasticBeanstalk.retrieveEnvironmentInfo(RetrieveEnvironmentInfoRequest)

Constructor Summary
RetrieveEnvironmentInfoRequest()
          Default constructor for a new RetrieveEnvironmentInfoRequest object.
RetrieveEnvironmentInfoRequest(String infoType)
          Constructs a new RetrieveEnvironmentInfoRequest object.
 
Method Summary
 String getEnvironmentId()
          The ID of the data's environment.
 String getEnvironmentName()
          The name of the data's environment.
 String getInfoType()
          The type of information to retrieve.
 void setEnvironmentId(String environmentId)
          The ID of the data's environment.
 void setEnvironmentName(String environmentName)
          The name of the data's environment.
 void setInfoType(String infoType)
          The type of information to retrieve.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RetrieveEnvironmentInfoRequest withEnvironmentId(String environmentId)
          The ID of the data's environment.
 RetrieveEnvironmentInfoRequest withEnvironmentName(String environmentName)
          The name of the data's environment.
 RetrieveEnvironmentInfoRequest withInfoType(String infoType)
          The type of information to retrieve.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetrieveEnvironmentInfoRequest

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


RetrieveEnvironmentInfoRequest

public RetrieveEnvironmentInfoRequest(String infoType)
Constructs a new RetrieveEnvironmentInfoRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
infoType - The type of information to retrieve.
Method Detail

getEnvironmentId

public String getEnvironmentId()
The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

Returns:
The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.


setEnvironmentId

public void setEnvironmentId(String environmentId)
The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

Parameters:
environmentId - The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.


withEnvironmentId

public RetrieveEnvironmentInfoRequest withEnvironmentId(String environmentId)
The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

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

Parameters:
environmentId - The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

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

getEnvironmentName

public String getEnvironmentName()
The name of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

Constraints:
Length: 4 - 23

Returns:
The name of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.


setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.


withEnvironmentName

public RetrieveEnvironmentInfoRequest withEnvironmentName(String environmentName)
The name of the data's environment.

If no such environment is found, returns an InvalidParameterValue 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 data's environment.

If no such environment is found, returns an InvalidParameterValue 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 retrieve.

Constraints:
Allowed Values: tail

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

setInfoType

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

Constraints:
Allowed Values: tail

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

withInfoType

public RetrieveEnvironmentInfoRequest withInfoType(String infoType)
The type of information to retrieve.

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 retrieve.
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()


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