Class CreateLaunchConfigurationTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mgn.model.MgnRequest
-
- software.amazon.awssdk.services.mgn.model.CreateLaunchConfigurationTemplateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,CreateLaunchConfigurationTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateLaunchConfigurationTemplateRequest extends MgnRequest implements ToCopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,CreateLaunchConfigurationTemplateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLaunchConfigurationTemplateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanassociatePublicIpAddress()Associate public Ip address.BootModebootMode()Launch configuration template boot mode.StringbootModeAsString()Launch configuration template boot mode.static CreateLaunchConfigurationTemplateRequest.Builderbuilder()BooleancopyPrivateIp()Copy private Ip.BooleancopyTags()Copy tags.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.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()Launch configuration template post launch actions.List<SdkField<?>>sdkFields()static Class<? extends CreateLaunchConfigurationTemplateRequest.Builder>serializableBuilderClass()LaunchTemplateDiskConfsmallVolumeConf()Small volume config.LongsmallVolumeMaxSize()Small volume maximum size.Map<String,String>tags()Request to associate tags during creation of a Launch Configuration Template.TargetInstanceTypeRightSizingMethodtargetInstanceTypeRightSizingMethod()Target instance type right-sizing method.StringtargetInstanceTypeRightSizingMethodAsString()Target instance type right-sizing method.CreateLaunchConfigurationTemplateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
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.
-
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.
-
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()
Launch configuration template post launch actions.
- Returns:
- Launch configuration template post launch actions.
-
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()
Request to associate tags during creation of a 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:
- Request to associate tags during creation of a 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 CreateLaunchConfigurationTemplateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,CreateLaunchConfigurationTemplateRequest>- Specified by:
toBuilderin classMgnRequest
-
builder
public static CreateLaunchConfigurationTemplateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateLaunchConfigurationTemplateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-