|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.DeleteApplicationVersionRequest
public class DeleteApplicationVersionRequest
Container for the parameters to the DeleteApplicationVersion operation
.
Deletes the specified version from the specified application.
NOTE:You cannot delete an application version that is associated with a running environment.
AWSElasticBeanstalk.deleteApplicationVersion(DeleteApplicationVersionRequest)
Constructor Summary | |
---|---|
DeleteApplicationVersionRequest()
Default constructor for a new DeleteApplicationVersionRequest object. |
|
DeleteApplicationVersionRequest(String applicationName,
String versionLabel)
Constructs a new DeleteApplicationVersionRequest object. |
Method Summary | |
---|---|
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: true : An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
String |
getVersionLabel()
The label of the version to delete. |
int |
hashCode()
|
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. |
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: true : An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
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: true : An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
DeleteApplicationVersionRequest |
withVersionLabel(String versionLabel)
The label of the version 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 |
---|
public DeleteApplicationVersionRequest()
public DeleteApplicationVersionRequest(String applicationName, String versionLabel)
applicationName
- The name of the application to delete releases
from.versionLabel
- The label of the version to delete.Method Detail |
---|
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of the application to delete releases from.public DeleteApplicationVersionRequest 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 releases from.
public String getVersionLabel()
Constraints:
Length: 1 - 100
public void setVersionLabel(String versionLabel)
Constraints:
Length: 1 - 100
versionLabel
- The label of the version to delete.public DeleteApplicationVersionRequest withVersionLabel(String versionLabel)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
versionLabel
- The label of the version to delete.
public Boolean isDeleteSourceBundle()
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
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
public void setDeleteSourceBundle(Boolean deleteSourceBundle)
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
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
public DeleteApplicationVersionRequest withDeleteSourceBundle(Boolean deleteSourceBundle)
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 a reference to this object so that method calls can be chained together.
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
public Boolean getDeleteSourceBundle()
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
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
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |