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. The application versions will not be deleted from your Amazon S3 bucket.

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.
 Boolean getTerminateEnvByForce()
          When set to true, running environments will be terminated before deleting the application.
 int hashCode()
           
 Boolean isTerminateEnvByForce()
          When set to true, running environments will be terminated before deleting the application.
 void setApplicationName(String applicationName)
          The name of the application to delete.
 void setTerminateEnvByForce(Boolean terminateEnvByForce)
          When set to true, running environments will be terminated before deleting the application.
 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.
 DeleteApplicationRequest withTerminateEnvByForce(Boolean terminateEnvByForce)
          When set to true, running environments will be terminated before deleting the application.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, 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.

isTerminateEnvByForce

public Boolean isTerminateEnvByForce()
When set to true, running environments will be terminated before deleting the application.

Returns:
When set to true, running environments will be terminated before deleting the application.

setTerminateEnvByForce

public void setTerminateEnvByForce(Boolean terminateEnvByForce)
When set to true, running environments will be terminated before deleting the application.

Parameters:
terminateEnvByForce - When set to true, running environments will be terminated before deleting the application.

withTerminateEnvByForce

public DeleteApplicationRequest withTerminateEnvByForce(Boolean terminateEnvByForce)
When set to true, running environments will be terminated before deleting the application.

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

Parameters:
terminateEnvByForce - When set to true, running environments will be terminated before deleting the application.
Returns:
A reference to this updated object so that method calls can be chained together.

getTerminateEnvByForce

public Boolean getTerminateEnvByForce()
When set to true, running environments will be terminated before deleting the application.

Returns:
When set to true, running environments will be terminated before deleting the application.

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 © 2016. All rights reserved.