Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class DeleteApplicationRequest

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

public class DeleteApplicationRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteApplication operation.

Deletes the specified application along with all associated versions and configurations.

NOTE:You cannot delete an application that has a running environment.

See Also:
AWSElasticBeanstalk.deleteApplication(DeleteApplicationRequest), Serialized Form

Constructor Summary
DeleteApplicationRequest()
          Default constructor for a new DeleteApplicationRequest object.
DeleteApplicationRequest(String applicationName)
          Constructs a new DeleteApplicationRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          The name of the application to delete.
 int hashCode()
           
 void setApplicationName(String applicationName)
          The name of the application to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteApplicationRequest withApplicationName(String applicationName)
          The name of the application to delete.
 
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

DeleteApplicationRequest

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


DeleteApplicationRequest

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

Parameters:
applicationName - The name of the application to delete.
Method Detail

getApplicationName

public String getApplicationName()
The name of the application to delete.

Constraints:
Length: 1 - 100

Returns:
The name of the application to delete.

setApplicationName

public void setApplicationName(String applicationName)
The name of the application to delete.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application to delete.

withApplicationName

public DeleteApplicationRequest withApplicationName(String applicationName)
The name of the application to delete.

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 to delete.
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.