Class CreateLaunchConfigurationTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.drs.model.DrsRequest
-
- software.amazon.awssdk.services.drs.model.CreateLaunchConfigurationTemplateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,CreateLaunchConfigurationTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateLaunchConfigurationTemplateRequest extends DrsRequest 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 static CreateLaunchConfigurationTemplateRequest.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.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()Whether we want to activate post-launch actions.List<SdkField<?>>sdkFields()static Class<? extends CreateLaunchConfigurationTemplateRequest.Builder>serializableBuilderClass()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
-
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.
-
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()
Whether we want to activate post-launch actions.
- Returns:
- Whether we want to activate post-launch actions.
-
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 classDrsRequest
-
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
-
-