Class LaunchTemplateConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.LaunchTemplateConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchTemplateConfiguration.Builder,LaunchTemplateConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LaunchTemplateConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateConfiguration.Builder,LaunchTemplateConfiguration>
Identifies an Amazon EC2 launch template to use for a specific account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchTemplateConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The account ID that this configuration applies to.static LaunchTemplateConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlaunchTemplateId()Identifies the Amazon EC2 launch template to use.List<SdkField<?>>sdkFields()static Class<? extends LaunchTemplateConfiguration.Builder>serializableBuilderClass()BooleansetDefaultVersion()Set the specified Amazon EC2 launch template as the default launch template for the specified account.LaunchTemplateConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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()
Identifies the Amazon EC2 launch template to use.
- Returns:
- Identifies the Amazon EC2 launch template to use.
-
accountId
public final String accountId()
The account ID that this configuration applies to.
- Returns:
- The account ID that this configuration applies to.
-
setDefaultVersion
public final Boolean setDefaultVersion()
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
- Returns:
- Set the specified Amazon EC2 launch template as the default launch template for the specified account.
-
toBuilder
public LaunchTemplateConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchTemplateConfiguration.Builder,LaunchTemplateConfiguration>
-
builder
public static LaunchTemplateConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateConfiguration.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.
-
-