public class TerminateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This documentation target is not reported in the API reference.
NOOP
Constructor and Description |
---|
TerminateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateEnvironmentRequest |
clone() |
boolean |
equals(Object obj) |
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:
|
int |
hashCode() |
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:
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setEnvironmentId(String environmentId)
The ID of the environment to terminate.
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 to terminate.
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 getEnvironmentId()
The ID of the environment to terminate.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
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 TerminateEnvironmentRequest withEnvironmentId(String environmentId)
The ID of the environment to terminate.
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 to terminate.
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 setEnvironmentName(String environmentName)
The name of the environment to terminate.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to terminate.
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 getEnvironmentName()
The name of the environment to terminate.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
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 TerminateEnvironmentRequest withEnvironmentName(String environmentName)
The name of the environment to terminate.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to terminate.
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 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
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
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
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
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
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
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
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
public String toString()
toString
in class Object
Object.toString()
public TerminateEnvironmentRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.