Class ApplicationVersionDescription

java.lang.Object
software.amazon.awssdk.services.elasticbeanstalk.model.ApplicationVersionDescription
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>

@Generated("software.amazon.awssdk:codegen") public final class ApplicationVersionDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>

Describes the properties of an application version.

See Also:
  • Method Details

    • applicationVersionArn

      public final String applicationVersionArn()

      The Amazon Resource Name (ARN) of the application version.

      Returns:
      The Amazon Resource Name (ARN) of the application version.
    • applicationName

      public final String applicationName()

      The name of the application to which the application version belongs.

      Returns:
      The name of the application to which the application version belongs.
    • description

      public final String description()

      The description of the application version.

      Returns:
      The description of the application version.
    • versionLabel

      public final String versionLabel()

      A unique identifier for the application version.

      Returns:
      A unique identifier for the application version.
    • sourceBuildInformation

      public final SourceBuildInformation sourceBuildInformation()

      If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.

      Returns:
      If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.
    • buildArn

      public final String buildArn()

      Reference to the artifact from the AWS CodeBuild build.

      Returns:
      Reference to the artifact from the AWS CodeBuild build.
    • sourceBundle

      public final S3Location sourceBundle()

      The storage location of the application version's source bundle in Amazon S3.

      Returns:
      The storage location of the application version's source bundle in Amazon S3.
    • dateCreated

      public final Instant dateCreated()

      The creation date of the application version.

      Returns:
      The creation date of the application version.
    • dateUpdated

      public final Instant dateUpdated()

      The last modified date of the application version.

      Returns:
      The last modified date of the application version.
    • status

      public final ApplicationVersionStatus status()

      The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True for the Process parameter of the CreateApplicationVersion action. The following list describes the possible values.

      • Unprocessed – Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment.

      • Processing – Elastic Beanstalk is currently processing the application version.

      • Building – Application version is currently undergoing an AWS CodeBuild build.

      • Processed – Elastic Beanstalk was successfully pre-processed and validated.

      • Failed – Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.

      If the service returns an enum value that is not available in the current SDK version, status will return ApplicationVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True for the Process parameter of the CreateApplicationVersion action. The following list describes the possible values.

      • Unprocessed – Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment.

      • Processing – Elastic Beanstalk is currently processing the application version.

      • Building – Application version is currently undergoing an AWS CodeBuild build.

      • Processed – Elastic Beanstalk was successfully pre-processed and validated.

      • Failed – Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.

      See Also:
    • statusAsString

      public final String statusAsString()

      The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True for the Process parameter of the CreateApplicationVersion action. The following list describes the possible values.

      • Unprocessed – Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment.

      • Processing – Elastic Beanstalk is currently processing the application version.

      • Building – Application version is currently undergoing an AWS CodeBuild build.

      • Processed – Elastic Beanstalk was successfully pre-processed and validated.

      • Failed – Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.

      If the service returns an enum value that is not available in the current SDK version, status will return ApplicationVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True for the Process parameter of the CreateApplicationVersion action. The following list describes the possible values.

      • Unprocessed – Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment.

      • Processing – Elastic Beanstalk is currently processing the application version.

      • Building – Application version is currently undergoing an AWS CodeBuild build.

      • Processed – Elastic Beanstalk was successfully pre-processed and validated.

      • Failed – Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.

      See Also:
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>
      Returns:
      a builder for type T
    • builder

      public static ApplicationVersionDescription.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ApplicationVersionDescription.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.