Class DeleteApplicationVersionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.DeleteApplicationVersionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to delete an application version.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteApplicationVersionRequest()
Default constructor for DeleteApplicationVersionRequest object.DeleteApplicationVersionRequest(String applicationName, String versionLabel)
Constructs a new DeleteApplicationVersionRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteApplicationVersionRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplicationName()
The name of the application to delete releases from.Boolean
getDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:String
getVersionLabel()
The label of the version to delete.int
hashCode()
Boolean
isDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:void
setApplicationName(String applicationName)
The name of the application to delete releases from.void
setDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:void
setVersionLabel(String versionLabel)
The label of the version to delete.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeleteApplicationVersionRequest
withApplicationName(String applicationName)
The name of the application to delete releases from.DeleteApplicationVersionRequest
withDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:DeleteApplicationVersionRequest
withVersionLabel(String versionLabel)
The label of the version to delete.-
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
-
DeleteApplicationVersionRequest
public DeleteApplicationVersionRequest()
Default constructor for DeleteApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
DeleteApplicationVersionRequest
public DeleteApplicationVersionRequest(String applicationName, String versionLabel)
Constructs a new DeleteApplicationVersionRequest 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 releases from.versionLabel
- The label of the version to delete.
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application to delete releases from.
- Parameters:
applicationName
- The name of the application to delete releases from.
-
getApplicationName
public String getApplicationName()
The name of the application to delete releases from.
- Returns:
- The name of the application to delete releases from.
-
withApplicationName
public DeleteApplicationVersionRequest withApplicationName(String applicationName)
The name of the application to delete releases from.
- Parameters:
applicationName
- The name of the application to delete releases from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
public void setVersionLabel(String versionLabel)
The label of the version to delete.
- Parameters:
versionLabel
- The label of the version to delete.
-
getVersionLabel
public String getVersionLabel()
The label of the version to delete.
- Returns:
- The label of the version to delete.
-
withVersionLabel
public DeleteApplicationVersionRequest withVersionLabel(String versionLabel)
The label of the version to delete.
- Parameters:
versionLabel
- The label of the version to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeleteSourceBundle
public void setDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
- Parameters:
deleteSourceBundle
- Indicates whether to delete the associated source bundle from Amazon S3:-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
-
-
-
getDeleteSourceBundle
public Boolean getDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
- Returns:
- Indicates whether to delete the associated source bundle from
Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
-
-
-
withDeleteSourceBundle
public DeleteApplicationVersionRequest withDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
- Parameters:
deleteSourceBundle
- Indicates whether to delete the associated source bundle from Amazon S3:-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
isDeleteSourceBundle
public Boolean isDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
- Returns:
- Indicates whether to delete the associated source bundle from
Amazon S3:
-
true
: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. -
false
: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values:
true
|false
-
-
-
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 DeleteApplicationVersionRequest 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()
-
-