com.amazonaws.services.elasticbeanstalk.model
Class TerminateEnvironmentRequest

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

public class TerminateEnvironmentRequest
extends AmazonWebServiceRequest

Container for the parameters to the TerminateEnvironment operation.

Terminates the specified environment.

See Also:
AWSElasticBeanstalk.terminateEnvironment(TerminateEnvironmentRequest)

Constructor Summary
TerminateEnvironmentRequest()
          Default constructor for a new TerminateEnvironmentRequest object.
 
Method Summary
 String getEnvironmentId()
          The ID of the environment to terminate.
 String getEnvironmentName()
          The name of the environment to terminate.
 Boolean getTerminateResources()
          Indicates whether the associated AWS resources should shut down when the environment is terminated:
 Boolean isTerminateResources()
          Indicates whether the associated AWS resources should shut down when the environment is terminated:
 void setEnvironmentId(String environmentId)
          The ID of the environment to terminate.
 void setEnvironmentName(String environmentName)
          The name of the environment to terminate.
 void setTerminateResources(Boolean terminateResources)
          Indicates whether the associated AWS resources should shut down when the environment is terminated:
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 TerminateEnvironmentRequest withEnvironmentId(String environmentId)
          The ID of the environment to terminate.
 TerminateEnvironmentRequest withEnvironmentName(String environmentName)
          The name of the environment to terminate.
 TerminateEnvironmentRequest withTerminateResources(Boolean terminateResources)
          Indicates whether the associated AWS resources should shut down when the environment is terminated:
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerminateEnvironmentRequest

public TerminateEnvironmentRequest()
Default constructor for a new TerminateEnvironmentRequest 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 terminate.

Returns:
The ID of the environment to terminate.

setEnvironmentId

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

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

withEnvironmentId

public TerminateEnvironmentRequest withEnvironmentId(String environmentId)
The ID of the environment to terminate.

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

Parameters:
environmentId - The ID of the environment to terminate.
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 terminate.

Constraints:
Length: 4 - 23

Returns:
The name of the environment to terminate.

setEnvironmentName

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

Constraints:
Length: 4 - 23

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

withEnvironmentName

public TerminateEnvironmentRequest withEnvironmentName(String environmentName)
The name of the environment to terminate.

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

isTerminateResources

public Boolean isTerminateResources()
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false

Returns:
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false


setTerminateResources

public void setTerminateResources(Boolean terminateResources)
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false

Parameters:
terminateResources - Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false


withTerminateResources

public TerminateEnvironmentRequest withTerminateResources(Boolean terminateResources)
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false

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

Parameters:
terminateResources - Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false

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

getTerminateResources

public Boolean getTerminateResources()
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false

Returns:
Indicates whether the associated AWS resources should shut down when the environment is terminated:

true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.

false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.

  • true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
  • false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.

For more information, see the AWS Elastic Beanstalk User Guide.

Default: true

Valid Values: true | false


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.