@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLaunchConfigurationRequest extends DrsRequest implements ToCopyableBuilder<UpdateLaunchConfigurationRequest.Builder,UpdateLaunchConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLaunchConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateLaunchConfigurationRequest.Builder |
builder() |
Boolean |
copyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
|
Boolean |
copyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LaunchDisposition |
launchDisposition()
The state of the Recovery Instance in EC2 after the recovery operation.
|
String |
launchDispositionAsString()
The state of the Recovery Instance in EC2 after the recovery operation.
|
Licensing |
licensing()
The licensing configuration to be used for this launch configuration.
|
String |
name()
The name of the launch configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLaunchConfigurationRequest.Builder> |
serializableBuilderClass() |
String |
sourceServerID()
The ID of the Source Server that we want to retrieve a Launch Configuration for.
|
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.
|
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.
|
UpdateLaunchConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean copyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
public final Boolean copyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
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, launchDisposition
will return LaunchDisposition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from launchDispositionAsString().
LaunchDispositionpublic 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, launchDisposition
will return LaunchDisposition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from launchDispositionAsString().
LaunchDispositionpublic final Licensing licensing()
The licensing configuration to be used for this launch configuration.
public final String name()
The name of the launch configuration.
public final String sourceServerID()
The ID of the Source Server that we want to retrieve a Launch Configuration for.
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,
targetInstanceTypeRightSizingMethod will return
TargetInstanceTypeRightSizingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from targetInstanceTypeRightSizingMethodAsString().
TargetInstanceTypeRightSizingMethodpublic 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,
targetInstanceTypeRightSizingMethod will return
TargetInstanceTypeRightSizingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from targetInstanceTypeRightSizingMethodAsString().
TargetInstanceTypeRightSizingMethodpublic UpdateLaunchConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLaunchConfigurationRequest.Builder,UpdateLaunchConfigurationRequest>toBuilder in class DrsRequestpublic static UpdateLaunchConfigurationRequest.Builder builder()
public static Class<? extends UpdateLaunchConfigurationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.