Class TypeVersionSummary

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

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

Contains summary information about a specific version of a CloudFormation extension.

See Also:
  • Method Details

    • type

      public final RegistryType type()

      The kind of extension.

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

      Returns:
      The kind of extension.
      See Also:
    • typeAsString

      public final String typeAsString()

      The kind of extension.

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

      Returns:
      The kind of extension.
      See Also:
    • typeName

      public final String typeName()

      The name of the extension.

      Returns:
      The name of the extension.
    • versionId

      public final String versionId()

      The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it's registered.

      Returns:
      The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it's registered.
    • isDefaultVersion

      public final Boolean isDefaultVersion()

      Whether the specified extension version is set as the default version.

      This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, CloudFormation returns null.

      Returns:
      Whether the specified extension version is set as the default version.

      This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, CloudFormation returns null.

    • arn

      public final String arn()

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

      Returns:
      The Amazon Resource Name (ARN) of the extension version.
    • timeCreated

      public final Instant timeCreated()

      When the version was registered.

      Returns:
      When the version was registered.
    • description

      public final String description()

      The description of the extension version.

      Returns:
      The description of the extension version.
    • publicVersionNumber

      public final String publicVersionNumber()

      For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

      How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

      Returns:
      For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

      How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

    • toBuilder

      public TypeVersionSummary.Builder 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<TypeVersionSummary.Builder,TypeVersionSummary>
      Returns:
      a builder for type T
    • builder

      public static TypeVersionSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends TypeVersionSummary.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.