Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class DeleteApplicationVersionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.DeleteApplicationVersionRequest

public class DeleteApplicationVersionRequest
extends AmazonWebServiceRequest

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.

See Also:
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

DeleteApplicationVersionRequest

public DeleteApplicationVersionRequest()
Default constructor for a new DeleteApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getApplicationName

public String getApplicationName()
The name of the application to delete releases from.

Constraints:
Length: 1 - 100

Returns:
The name of the application to delete releases from.

setApplicationName

public void setApplicationName(String applicationName)
The name of the application to delete releases from.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application to delete releases from.

withApplicationName

public DeleteApplicationVersionRequest withApplicationName(String applicationName)
The name of the application to delete releases from.

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 releases from.
Returns:
A reference to this updated object so that method calls can be chained together.

getVersionLabel

public String getVersionLabel()
The label of the version to delete.

Constraints:
Length: 1 - 100

Returns:
The label of the version to delete.

setVersionLabel

public void setVersionLabel(String versionLabel)
The label of the version to delete.

Constraints:
Length: 1 - 100

Parameters:
versionLabel - The label of the version to delete.

withVersionLabel

public DeleteApplicationVersionRequest withVersionLabel(String versionLabel)
The label of the version to delete.

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

Constraints:
Length: 1 - 100

Parameters:
versionLabel - The label of the version to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteSourceBundle

public Boolean isDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:

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


setDeleteSourceBundle

public void setDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:

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


withDeleteSourceBundle

public DeleteApplicationVersionRequest withDeleteSourceBundle(Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:

Valid Values: true | false

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

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:
A reference to this updated object so that method calls can be chained together.

getDeleteSourceBundle

public Boolean getDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:

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 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.