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 interface
LaunchTemplateVersion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchTemplateVersion.Builder
builder()
String
createdBy()
The principal that created the version.Instant
createTime()
The time the version was created.Boolean
defaultVersion()
Indicates whether the version is the default version.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ResponseLaunchTemplateData
launchTemplateData()
Information about the launch template.String
launchTemplateId()
The ID of the launch template.String
launchTemplateName()
The name of the launch template.List<SdkField<?>>
sdkFields()
static Class<? extends LaunchTemplateVersion.Builder>
serializableBuilderClass()
LaunchTemplateVersion.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
versionDescription()
The description for the version.Long
versionNumber()
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.
-
toBuilder
public LaunchTemplateVersion.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-