Class LaunchConfigurationTemplate
- java.lang.Object
-
- software.amazon.awssdk.services.mgn.model.LaunchConfigurationTemplate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchConfigurationTemplate.Builder,LaunchConfigurationTemplate>
@Generated("software.amazon.awssdk:codegen") public final class LaunchConfigurationTemplate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchConfigurationTemplate.Builder,LaunchConfigurationTemplate>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchConfigurationTemplate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()ARN of the Launch Configuration Template.BooleanassociatePublicIpAddress()Associate public Ip address.BootModebootMode()Launch configuration template boot mode.StringbootModeAsString()Launch configuration template boot mode.static LaunchConfigurationTemplate.Builderbuilder()BooleancopyPrivateIp()Copy private Ip.BooleancopyTags()Copy tags.Stringec2LaunchTemplateID()EC2 launch template ID.BooleanenableMapAutoTagging()Enable map auto tagging.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.LaunchTemplateDiskConflargeVolumeConf()Large volume config.StringlaunchConfigurationTemplateID()ID of the Launch Configuration Template.LaunchDispositionlaunchDisposition()Launch disposition.StringlaunchDispositionAsString()Launch disposition.Licensinglicensing()Returns the value of the Licensing property for this object.StringmapAutoTaggingMpeID()Launch configuration template map auto tagging MPE ID.PostLaunchActionspostLaunchActions()Post Launch Actions of the Launch Configuration Template.List<SdkField<?>>sdkFields()static Class<? extends LaunchConfigurationTemplate.Builder>serializableBuilderClass()LaunchTemplateDiskConfsmallVolumeConf()Small volume config.LongsmallVolumeMaxSize()Small volume maximum size.Map<String,String>tags()Tags of the Launch Configuration Template.TargetInstanceTypeRightSizingMethodtargetInstanceTypeRightSizingMethod()Target instance type right-sizing method.StringtargetInstanceTypeRightSizingMethodAsString()Target instance type right-sizing method.LaunchConfigurationTemplate.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
-
arn
public final String arn()
ARN of the Launch Configuration Template.
- Returns:
- ARN of the Launch Configuration Template.
-
associatePublicIpAddress
public final Boolean associatePublicIpAddress()
Associate public Ip address.
- Returns:
- Associate public Ip address.
-
bootMode
public final BootMode bootMode()
Launch configuration template boot mode.
If the service returns an enum value that is not available in the current SDK version,
bootModewill returnBootMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombootModeAsString().- Returns:
- Launch configuration template boot mode.
- See Also:
BootMode
-
bootModeAsString
public final String bootModeAsString()
Launch configuration template boot mode.
If the service returns an enum value that is not available in the current SDK version,
bootModewill returnBootMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombootModeAsString().- Returns:
- Launch configuration template boot mode.
- See Also:
BootMode
-
copyPrivateIp
public final Boolean copyPrivateIp()
Copy private Ip.
- Returns:
- Copy private Ip.
-
copyTags
public final Boolean copyTags()
Copy tags.
- Returns:
- Copy tags.
-
ec2LaunchTemplateID
public final String ec2LaunchTemplateID()
EC2 launch template ID.
- Returns:
- EC2 launch template ID.
-
enableMapAutoTagging
public final Boolean enableMapAutoTagging()
Enable map auto tagging.
- Returns:
- Enable map auto tagging.
-
largeVolumeConf
public final LaunchTemplateDiskConf largeVolumeConf()
Large volume config.
- Returns:
- Large volume config.
-
launchConfigurationTemplateID
public final String launchConfigurationTemplateID()
ID of the Launch Configuration Template.
- Returns:
- ID of the Launch Configuration Template.
-
launchDisposition
public final LaunchDisposition launchDisposition()
Launch disposition.
If the service returns an enum value that is not available in the current SDK version,
launchDispositionwill returnLaunchDisposition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlaunchDispositionAsString().- Returns:
- Launch disposition.
- See Also:
LaunchDisposition
-
launchDispositionAsString
public final String launchDispositionAsString()
Launch disposition.
If the service returns an enum value that is not available in the current SDK version,
launchDispositionwill returnLaunchDisposition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlaunchDispositionAsString().- Returns:
- Launch disposition.
- See Also:
LaunchDisposition
-
licensing
public final Licensing licensing()
Returns the value of the Licensing property for this object.- Returns:
- The value of the Licensing property for this object.
-
mapAutoTaggingMpeID
public final String mapAutoTaggingMpeID()
Launch configuration template map auto tagging MPE ID.
- Returns:
- Launch configuration template map auto tagging MPE ID.
-
postLaunchActions
public final PostLaunchActions postLaunchActions()
Post Launch Actions of the Launch Configuration Template.
- Returns:
- Post Launch Actions of the Launch Configuration Template.
-
smallVolumeConf
public final LaunchTemplateDiskConf smallVolumeConf()
Small volume config.
- Returns:
- Small volume config.
-
smallVolumeMaxSize
public final Long smallVolumeMaxSize()
Small volume maximum size.
- Returns:
- Small volume maximum size.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
tags
public final Map<String,String> tags()
Tags of the Launch Configuration Template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()method.- Returns:
- Tags of the Launch Configuration Template.
-
targetInstanceTypeRightSizingMethod
public final TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod()
Target instance type right-sizing method.
If the service returns an enum value that is not available in the current SDK version,
targetInstanceTypeRightSizingMethodwill returnTargetInstanceTypeRightSizingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetInstanceTypeRightSizingMethodAsString().- Returns:
- Target instance type right-sizing method.
- See Also:
TargetInstanceTypeRightSizingMethod
-
targetInstanceTypeRightSizingMethodAsString
public final String targetInstanceTypeRightSizingMethodAsString()
Target instance type right-sizing method.
If the service returns an enum value that is not available in the current SDK version,
targetInstanceTypeRightSizingMethodwill returnTargetInstanceTypeRightSizingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetInstanceTypeRightSizingMethodAsString().- Returns:
- Target instance type right-sizing method.
- See Also:
TargetInstanceTypeRightSizingMethod
-
toBuilder
public LaunchConfigurationTemplate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchConfigurationTemplate.Builder,LaunchConfigurationTemplate>
-
builder
public static LaunchConfigurationTemplate.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchConfigurationTemplate.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.
-
-