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:
  • Constructor Details

    • 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 Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: