Class LaunchTemplateVersion
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LaunchTemplateVersion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchTemplateVersion.Builder,LaunchTemplateVersion>
@Generated("software.amazon.awssdk:codegen") public final class LaunchTemplateVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateVersion.Builder,LaunchTemplateVersion>
Describes a launch template version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchTemplateVersion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchTemplateVersion.Builderbuilder()StringcreatedBy()The principal that created the version.InstantcreateTime()The time the version was created.BooleandefaultVersion()Indicates whether the version is the default version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResponseLaunchTemplateDatalaunchTemplateData()Information about the launch template.StringlaunchTemplateId()The ID of the launch template.StringlaunchTemplateName()The name of the launch template.OperatorResponseoperator()The entity that manages the launch template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LaunchTemplateVersion.Builder>serializableBuilderClass()LaunchTemplateVersion.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionDescription()The description for the version.LongversionNumber()The version number.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
launchTemplateId
public final String launchTemplateId()
The ID of the launch template.
- Returns:
- The ID of the launch template.
-
launchTemplateName
public final String launchTemplateName()
The name of the launch template.
- Returns:
- The name of the launch template.
-
versionNumber
public final Long versionNumber()
The version number.
- Returns:
- The version number.
-
versionDescription
public final String versionDescription()
The description for the version.
- Returns:
- The description for the version.
-
createTime
public final Instant createTime()
The time the version was created.
- Returns:
- The time the version was created.
-
createdBy
public final String createdBy()
The principal that created the version.
- Returns:
- The principal that created the version.
-
defaultVersion
public final Boolean defaultVersion()
Indicates whether the version is the default version.
- Returns:
- Indicates whether the version is the default version.
-
launchTemplateData
public final ResponseLaunchTemplateData launchTemplateData()
Information about the launch template.
- Returns:
- Information about the launch template.
-
operator
public final OperatorResponse operator()
The entity that manages the launch template.
- Returns:
- The entity that manages the launch template.
-
toBuilder
public LaunchTemplateVersion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchTemplateVersion.Builder,LaunchTemplateVersion>
-
builder
public static LaunchTemplateVersion.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateVersion.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-