Class UpdateLaunchConfigurationRequest
- 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.UpdateLaunchConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateLaunchConfigurationRequest.Builder,UpdateLaunchConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateLaunchConfigurationRequest extends DrsRequest implements ToCopyableBuilder<UpdateLaunchConfigurationRequest.Builder,UpdateLaunchConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateLaunchConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateLaunchConfigurationRequest.Builderbuilder()BooleancopyPrivateIp()Whether we should copy the Private IP of the Source Server to the Recovery Instance.BooleancopyTags()Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LaunchDispositionlaunchDisposition()The state of the Recovery Instance in EC2 after the recovery operation.StringlaunchDispositionAsString()The state of the Recovery Instance in EC2 after the recovery operation.LaunchIntoInstancePropertieslaunchIntoInstanceProperties()Launch into existing instance properties.Licensinglicensing()The licensing configuration to be used for this launch configuration.Stringname()The name of the launch configuration.BooleanpostLaunchEnabled()Whether we want to enable post-launch actions for the Source Server.List<SdkField<?>>sdkFields()static Class<? extends UpdateLaunchConfigurationRequest.Builder>serializableBuilderClass()StringsourceServerID()The ID of the Source Server that we want to retrieve a Launch Configuration for.TargetInstanceTypeRightSizingMethodtargetInstanceTypeRightSizingMethod()Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.StringtargetInstanceTypeRightSizingMethodAsString()Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.UpdateLaunchConfigurationRequest.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()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
- Returns:
- Whether we should copy the Private IP of the Source Server to the Recovery Instance.
-
copyTags
public final Boolean copyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
- Returns:
- Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
-
launchDisposition
public final LaunchDisposition launchDisposition()
The state of the Recovery Instance in EC2 after the recovery operation.
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:
- The state of the Recovery Instance in EC2 after the recovery operation.
- See Also:
LaunchDisposition
-
launchDispositionAsString
public final String launchDispositionAsString()
The state of the Recovery Instance in EC2 after the recovery operation.
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:
- The state of the Recovery Instance in EC2 after the recovery operation.
- See Also:
LaunchDisposition
-
launchIntoInstanceProperties
public final LaunchIntoInstanceProperties launchIntoInstanceProperties()
Launch into existing instance properties.
- Returns:
- Launch into existing instance properties.
-
licensing
public final Licensing licensing()
The licensing configuration to be used for this launch configuration.
- Returns:
- The licensing configuration to be used for this launch configuration.
-
name
public final String name()
The name of the launch configuration.
- Returns:
- The name of the launch configuration.
-
postLaunchEnabled
public final Boolean postLaunchEnabled()
Whether we want to enable post-launch actions for the Source Server.
- Returns:
- Whether we want to enable post-launch actions for the Source Server.
-
sourceServerID
public final String sourceServerID()
The ID of the Source Server that we want to retrieve a Launch Configuration for.
- Returns:
- The ID of the Source Server that we want to retrieve a Launch Configuration for.
-
targetInstanceTypeRightSizingMethod
public final TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod()
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
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:
- Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
- See Also:
TargetInstanceTypeRightSizingMethod
-
targetInstanceTypeRightSizingMethodAsString
public final String targetInstanceTypeRightSizingMethodAsString()
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
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:
- Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
- See Also:
TargetInstanceTypeRightSizingMethod
-
toBuilder
public UpdateLaunchConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateLaunchConfigurationRequest.Builder,UpdateLaunchConfigurationRequest>- Specified by:
toBuilderin classDrsRequest
-
builder
public static UpdateLaunchConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateLaunchConfigurationRequest.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
-
-