Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class DeleteEnvironmentConfigurationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.DeleteEnvironmentConfigurationRequest
All Implemented Interfaces:
Serializable

public class DeleteEnvironmentConfigurationRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteEnvironmentConfiguration operation.

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

See Also:
AWSElasticBeanstalk.deleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest), Serialized Form

Constructor Summary
DeleteEnvironmentConfigurationRequest()
          Default constructor for a new DeleteEnvironmentConfigurationRequest object.
DeleteEnvironmentConfigurationRequest(String applicationName, String environmentName)
          Constructs a new DeleteEnvironmentConfigurationRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          The name of the application the environment is associated with.
 String getEnvironmentName()
          The name of the environment to delete the draft configuration from.
 int hashCode()
           
 void setApplicationName(String applicationName)
          The name of the application the environment is associated with.
 void setEnvironmentName(String environmentName)
          The name of the environment to delete the draft configuration from.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteEnvironmentConfigurationRequest withApplicationName(String applicationName)
          The name of the application the environment is associated with.
 DeleteEnvironmentConfigurationRequest withEnvironmentName(String environmentName)
          The name of the environment to delete the draft configuration from.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteEnvironmentConfigurationRequest

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


DeleteEnvironmentConfigurationRequest

public DeleteEnvironmentConfigurationRequest(String applicationName,
                                             String environmentName)
Constructs a new DeleteEnvironmentConfigurationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
applicationName - The name of the application the environment is associated with.
environmentName - The name of the environment to delete the draft configuration from.
Method Detail

getApplicationName

public String getApplicationName()
The name of the application the environment is associated with.

Constraints:
Length: 1 - 100

Returns:
The name of the application the environment is associated with.

setApplicationName

public void setApplicationName(String applicationName)
The name of the application the environment is associated with.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application the environment is associated with.

withApplicationName

public DeleteEnvironmentConfigurationRequest withApplicationName(String applicationName)
The name of the application the environment is associated with.

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

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application the environment is associated with.
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 delete the draft configuration from.

Constraints:
Length: 4 - 23

Returns:
The name of the environment to delete the draft configuration from.

setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the environment to delete the draft configuration from.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment to delete the draft configuration from.

withEnvironmentName

public DeleteEnvironmentConfigurationRequest withEnvironmentName(String environmentName)
The name of the environment to delete the draft configuration from.

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 delete the draft configuration from.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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