public class RebuildEnvironmentRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
RebuildEnvironmentRequest()
Default constructor for a new RebuildEnvironmentRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the environment to rebuild.
|
String |
getEnvironmentName()
The name of the environment to rebuild.
|
int |
hashCode() |
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public RebuildEnvironmentRequest()
public String getEnvironmentId()
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 void setEnvironmentId(String environmentId)
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 rebuild. Condition: You must specify
either this or an EnvironmentName, or both. If you do not specify
either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public RebuildEnvironmentRequest withEnvironmentId(String environmentId)
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.
environmentId
- The ID of the environment to rebuild. 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 getEnvironmentName()
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
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 setEnvironmentName(String environmentName)
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
environmentName
- The name of the environment to rebuild. Condition: You must
specify either this or an EnvironmentId, or both. If you do not
specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public RebuildEnvironmentRequest withEnvironmentName(String environmentName)
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
environmentName
- The name of the environment to rebuild. 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 toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.