Class LaunchConfigurationTemplate
- java.lang.Object
-
- software.amazon.awssdk.services.drs.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>
Account level Launch Configuration Template.
- 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.static LaunchConfigurationTemplate.Builderbuilder()BooleancopyPrivateIp()Copy private IP.BooleancopyTags()Copy tags.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexportBucketArn()S3 bucket ARN to export Source Network templates.<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.StringlaunchConfigurationTemplateID()ID of the Launch Configuration Template.LaunchDispositionlaunchDisposition()Launch disposition.StringlaunchDispositionAsString()Launch disposition.BooleanlaunchIntoSourceInstance()DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.Licensinglicensing()Licensing.BooleanpostLaunchEnabled()Post-launch actions activated.List<SdkField<?>>sdkFields()static Class<? extends LaunchConfigurationTemplate.Builder>serializableBuilderClass()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.
-
copyPrivateIp
public final Boolean copyPrivateIp()
Copy private IP.
- Returns:
- Copy private IP.
-
copyTags
public final Boolean copyTags()
Copy tags.
- Returns:
- Copy tags.
-
exportBucketArn
public final String exportBucketArn()
S3 bucket ARN to export Source Network templates.
- Returns:
- S3 bucket ARN to export Source Network templates.
-
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
-
launchIntoSourceInstance
public final Boolean launchIntoSourceInstance()
DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
- Returns:
- DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
-
licensing
public final Licensing licensing()
Licensing.
- Returns:
- Licensing.
-
postLaunchEnabled
public final Boolean postLaunchEnabled()
Post-launch actions activated.
- Returns:
- Post-launch actions activated.
-
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.
-
-