public class DeleteApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
Constructor and Description |
---|
DeleteApplicationRequest()
Default constructor for a new DeleteApplicationRequest object.
|
DeleteApplicationRequest(String applicationName)
Constructs a new DeleteApplicationRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteApplicationRequest |
clone() |
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.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteApplicationRequest()
public DeleteApplicationRequest(String applicationName)
applicationName
- The name of the application to delete.public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of the application to delete.public DeleteApplicationRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of the application to delete.public Boolean isTerminateEnvByForce()
public void setTerminateEnvByForce(Boolean terminateEnvByForce)
terminateEnvByForce
- When set to true, running environments will be terminated before
deleting the application.public DeleteApplicationRequest withTerminateEnvByForce(Boolean terminateEnvByForce)
Returns a reference to this object so that method calls can be chained together.
terminateEnvByForce
- When set to true, running environments will be terminated before
deleting the application.public Boolean getTerminateEnvByForce()
public String toString()
toString
in class Object
Object.toString()
public DeleteApplicationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.