com.amazonaws.services.elasticbeanstalk.model
Class RebuildEnvironmentRequest

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

public class RebuildEnvironmentRequest
extends AmazonWebServiceRequest

Container for the parameters to the RebuildEnvironment operation.

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

See Also:
AWSElasticBeanstalk.rebuildEnvironment(RebuildEnvironmentRequest)

Constructor Summary
RebuildEnvironmentRequest()
          Default constructor for a new RebuildEnvironmentRequest object.
 
Method Summary
 String getEnvironmentId()
          The ID of the environment to rebuild.
 String getEnvironmentName()
          The name of the environment to rebuild.
 void setEnvironmentId(String environmentId)
          The ID of the environment to rebuild.
 void setEnvironmentName(String environmentName)
          The name of the environment to rebuild.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RebuildEnvironmentRequest withEnvironmentId(String environmentId)
          The ID of the environment to rebuild.
 RebuildEnvironmentRequest withEnvironmentName(String environmentName)
          The name of the environment to rebuild.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RebuildEnvironmentRequest

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

Method Detail

getEnvironmentId

public String getEnvironmentId()
The ID of the environment to rebuild.

Returns:
The ID of the environment to rebuild.

setEnvironmentId

public void setEnvironmentId(String environmentId)
The ID of the environment to rebuild.

Parameters:
environmentId - The ID of the environment to rebuild.

withEnvironmentId

public RebuildEnvironmentRequest withEnvironmentId(String environmentId)
The ID of the environment to rebuild.

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

Parameters:
environmentId - The ID of the environment to rebuild.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnvironmentName

public String getEnvironmentName()
The name of the environment to rebuild.

Constraints:
Length: 4 - 23

Returns:
The name of the environment to rebuild.

setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the environment to rebuild.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment to rebuild.

withEnvironmentName

public RebuildEnvironmentRequest withEnvironmentName(String environmentName)
The name of the environment to rebuild.

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 to rebuild.
Returns:
A reference to this updated object so that method calls can be chained together.

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.