Class DeleteApplicationRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.DeleteApplicationRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to delete an application.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteApplicationRequest()
Default constructor for DeleteApplicationRequest object.DeleteApplicationRequest(String applicationName)
Constructs a new DeleteApplicationRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteApplicationRequest
clone()
Creates a shallow clone of this request.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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
DeleteApplicationRequest
public DeleteApplicationRequest()
Default constructor for DeleteApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the 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
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application to delete.
- Parameters:
applicationName
- The name of the application to delete.
-
getApplicationName
public String getApplicationName()
The name of the application to delete.
- Returns:
- The name of the application to delete.
-
withApplicationName
public DeleteApplicationRequest withApplicationName(String applicationName)
The name of the application to delete.
- Parameters:
applicationName
- The name of the application to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withTerminateEnvByForce
public DeleteApplicationRequest withTerminateEnvByForce(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.- Returns:
- Returns a reference to this 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteApplicationRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-