Class GetLaunchConfigurationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.drs.model.DrsResponse
-
- software.amazon.awssdk.services.drs.model.GetLaunchConfigurationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetLaunchConfigurationResponse extends DrsResponse implements ToCopyableBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetLaunchConfigurationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetLaunchConfigurationResponse.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.Stringec2LaunchTemplateID()The EC2 launch template ID of this launch configuration.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 activate post-launch actions for the Source Server.List<SdkField<?>>sdkFields()static Class<? extends GetLaunchConfigurationResponse.Builder>serializableBuilderClass()StringsourceServerID()The ID of the Source Server for this launch configuration.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.GetLaunchConfigurationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.drs.model.DrsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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.
-
ec2LaunchTemplateID
public final String ec2LaunchTemplateID()
The EC2 launch template ID of this launch configuration.
- Returns:
- The EC2 launch template ID of this launch configuration.
-
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 activate post-launch actions for the Source Server.
- Returns:
- Whether we want to activate post-launch actions for the Source Server.
-
sourceServerID
public final String sourceServerID()
The ID of the Source Server for this launch configuration.
- Returns:
- The ID of the Source Server for this launch configuration.
-
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 GetLaunchConfigurationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetLaunchConfigurationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetLaunchConfigurationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-