Class TypeVersionSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TypeVersionSummary.Builder,
TypeVersionSummary>
Contains summary information about a specific version of a CloudFormation extension.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
arn()
The Amazon Resource Name (ARN) of the extension version.static TypeVersionSummary.Builder
builder()
final String
The description of the extension version.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Boolean
Whether the specified extension version is set as the default version.final String
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.static Class
<? extends TypeVersionSummary.Builder> final Instant
When the version was registered.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final RegistryType
type()
The kind of extension.final String
The kind of extension.final String
typeName()
The name of the extension.final String
The ID of a specific version of the extension.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
The kind of extension.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRegistryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The kind of extension.
- See Also:
-
typeAsString
The kind of extension.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRegistryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The kind of extension.
- See Also:
-
typeName
The name of the extension.
- Returns:
- The name of the extension.
-
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
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
The Amazon Resource Name (ARN) of the extension version.
- Returns:
- The Amazon Resource Name (ARN) of the extension version.
-
timeCreated
When the version was registered.
- Returns:
- When the version was registered.
-
description
The description of the extension version.
- Returns:
- The description of the extension version.
-
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
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 interfaceToCopyableBuilder<TypeVersionSummary.Builder,
TypeVersionSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-