@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLaunchConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLaunchConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetLaunchConfigurationResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
|
Boolean |
getCopyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
|
String |
getEc2LaunchTemplateID()
The EC2 launch template ID of this launch configuration.
|
String |
getLaunchDisposition()
The state of the Recovery Instance in EC2 after the recovery operation.
|
LaunchIntoInstanceProperties |
getLaunchIntoInstanceProperties()
Launch into existing instance properties.
|
Licensing |
getLicensing()
The licensing configuration to be used for this launch configuration.
|
String |
getName()
The name of the launch configuration.
|
Boolean |
getPostLaunchEnabled()
Whether we want to activate post-launch actions for the Source Server.
|
String |
getSourceServerID()
The ID of the Source Server for this launch configuration.
|
String |
getTargetInstanceTypeRightSizingMethod()
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS,
CPU, and RAM of your Source Server.
|
int |
hashCode() |
Boolean |
isCopyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
|
Boolean |
isCopyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
|
Boolean |
isPostLaunchEnabled()
Whether we want to activate post-launch actions for the Source Server.
|
void |
setCopyPrivateIp(Boolean copyPrivateIp)
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
|
void |
setCopyTags(Boolean copyTags)
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
|
void |
setEc2LaunchTemplateID(String ec2LaunchTemplateID)
The EC2 launch template ID of this launch configuration.
|
void |
setLaunchDisposition(String launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
|
void |
setLaunchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties)
Launch into existing instance properties.
|
void |
setLicensing(Licensing licensing)
The licensing configuration to be used for this launch configuration.
|
void |
setName(String name)
The name of the launch configuration.
|
void |
setPostLaunchEnabled(Boolean postLaunchEnabled)
Whether we want to activate post-launch actions for the Source Server.
|
void |
setSourceServerID(String sourceServerID)
The ID of the Source Server for this launch configuration.
|
void |
setTargetInstanceTypeRightSizingMethod(String 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 |
toString()
Returns a string representation of this object.
|
GetLaunchConfigurationResult |
withCopyPrivateIp(Boolean copyPrivateIp)
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
|
GetLaunchConfigurationResult |
withCopyTags(Boolean copyTags)
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
|
GetLaunchConfigurationResult |
withEc2LaunchTemplateID(String ec2LaunchTemplateID)
The EC2 launch template ID of this launch configuration.
|
GetLaunchConfigurationResult |
withLaunchDisposition(LaunchDisposition launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
|
GetLaunchConfigurationResult |
withLaunchDisposition(String launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
|
GetLaunchConfigurationResult |
withLaunchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties)
Launch into existing instance properties.
|
GetLaunchConfigurationResult |
withLicensing(Licensing licensing)
The licensing configuration to be used for this launch configuration.
|
GetLaunchConfigurationResult |
withName(String name)
The name of the launch configuration.
|
GetLaunchConfigurationResult |
withPostLaunchEnabled(Boolean postLaunchEnabled)
Whether we want to activate post-launch actions for the Source Server.
|
GetLaunchConfigurationResult |
withSourceServerID(String sourceServerID)
The ID of the Source Server for this launch configuration.
|
GetLaunchConfigurationResult |
withTargetInstanceTypeRightSizingMethod(String 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.
|
GetLaunchConfigurationResult |
withTargetInstanceTypeRightSizingMethod(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCopyPrivateIp(Boolean copyPrivateIp)
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
copyPrivateIp
- Whether we should copy the Private IP of the Source Server to the Recovery Instance.public Boolean getCopyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
public GetLaunchConfigurationResult withCopyPrivateIp(Boolean copyPrivateIp)
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
copyPrivateIp
- Whether we should copy the Private IP of the Source Server to the Recovery Instance.public Boolean isCopyPrivateIp()
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
public void setCopyTags(Boolean copyTags)
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
copyTags
- Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.public Boolean getCopyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
public GetLaunchConfigurationResult withCopyTags(Boolean copyTags)
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
copyTags
- Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.public Boolean isCopyTags()
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
public void setEc2LaunchTemplateID(String ec2LaunchTemplateID)
The EC2 launch template ID of this launch configuration.
ec2LaunchTemplateID
- The EC2 launch template ID of this launch configuration.public String getEc2LaunchTemplateID()
The EC2 launch template ID of this launch configuration.
public GetLaunchConfigurationResult withEc2LaunchTemplateID(String ec2LaunchTemplateID)
The EC2 launch template ID of this launch configuration.
ec2LaunchTemplateID
- The EC2 launch template ID of this launch configuration.public void setLaunchDisposition(String launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
launchDisposition
- The state of the Recovery Instance in EC2 after the recovery operation.LaunchDisposition
public String getLaunchDisposition()
The state of the Recovery Instance in EC2 after the recovery operation.
LaunchDisposition
public GetLaunchConfigurationResult withLaunchDisposition(String launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
launchDisposition
- The state of the Recovery Instance in EC2 after the recovery operation.LaunchDisposition
public GetLaunchConfigurationResult withLaunchDisposition(LaunchDisposition launchDisposition)
The state of the Recovery Instance in EC2 after the recovery operation.
launchDisposition
- The state of the Recovery Instance in EC2 after the recovery operation.LaunchDisposition
public void setLaunchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties)
Launch into existing instance properties.
launchIntoInstanceProperties
- Launch into existing instance properties.public LaunchIntoInstanceProperties getLaunchIntoInstanceProperties()
Launch into existing instance properties.
public GetLaunchConfigurationResult withLaunchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties)
Launch into existing instance properties.
launchIntoInstanceProperties
- Launch into existing instance properties.public void setLicensing(Licensing licensing)
The licensing configuration to be used for this launch configuration.
licensing
- The licensing configuration to be used for this launch configuration.public Licensing getLicensing()
The licensing configuration to be used for this launch configuration.
public GetLaunchConfigurationResult withLicensing(Licensing licensing)
The licensing configuration to be used for this launch configuration.
licensing
- The licensing configuration to be used for this launch configuration.public void setName(String name)
The name of the launch configuration.
name
- The name of the launch configuration.public String getName()
The name of the launch configuration.
public GetLaunchConfigurationResult withName(String name)
The name of the launch configuration.
name
- The name of the launch configuration.public void setPostLaunchEnabled(Boolean postLaunchEnabled)
Whether we want to activate post-launch actions for the Source Server.
postLaunchEnabled
- Whether we want to activate post-launch actions for the Source Server.public Boolean getPostLaunchEnabled()
Whether we want to activate post-launch actions for the Source Server.
public GetLaunchConfigurationResult withPostLaunchEnabled(Boolean postLaunchEnabled)
Whether we want to activate post-launch actions for the Source Server.
postLaunchEnabled
- Whether we want to activate post-launch actions for the Source Server.public Boolean isPostLaunchEnabled()
Whether we want to activate post-launch actions for the Source Server.
public void setSourceServerID(String sourceServerID)
The ID of the Source Server for this launch configuration.
sourceServerID
- The ID of the Source Server for this launch configuration.public String getSourceServerID()
The ID of the Source Server for this launch configuration.
public GetLaunchConfigurationResult withSourceServerID(String sourceServerID)
The ID of the Source Server for this launch configuration.
sourceServerID
- The ID of the Source Server for this launch configuration.public void setTargetInstanceTypeRightSizingMethod(String 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.
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.TargetInstanceTypeRightSizingMethod
public String getTargetInstanceTypeRightSizingMethod()
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
TargetInstanceTypeRightSizingMethod
public GetLaunchConfigurationResult withTargetInstanceTypeRightSizingMethod(String 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.
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.TargetInstanceTypeRightSizingMethod
public GetLaunchConfigurationResult withTargetInstanceTypeRightSizingMethod(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.
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.TargetInstanceTypeRightSizingMethod
public String toString()
toString
in class Object
Object.toString()
public GetLaunchConfigurationResult clone()