@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchConfigurationTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Account level Launch Configuration Template.
Constructor and Description |
---|
LaunchConfigurationTemplate() |
Modifier and Type | Method and Description |
---|---|
LaunchConfigurationTemplate |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
LaunchConfigurationTemplate |
clearTagsEntries()
Removes all the entries added into Tags.
|
LaunchConfigurationTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
ARN of the Launch Configuration Template.
|
Boolean |
getCopyPrivateIp()
Copy private IP.
|
Boolean |
getCopyTags()
Copy tags.
|
String |
getExportBucketArn()
S3 bucket ARN to export Source Network templates.
|
String |
getLaunchConfigurationTemplateID()
ID of the Launch Configuration Template.
|
String |
getLaunchDisposition()
Launch disposition.
|
Boolean |
getLaunchIntoSourceInstance()
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 |
getLicensing()
Licensing.
|
Boolean |
getPostLaunchEnabled()
Post-launch actions activated.
|
Map<String,String> |
getTags()
Tags of the Launch Configuration Template.
|
String |
getTargetInstanceTypeRightSizingMethod()
Target instance type right-sizing method.
|
int |
hashCode() |
Boolean |
isCopyPrivateIp()
Copy private IP.
|
Boolean |
isCopyTags()
Copy tags.
|
Boolean |
isLaunchIntoSourceInstance()
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.
|
Boolean |
isPostLaunchEnabled()
Post-launch actions activated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
ARN of the Launch Configuration Template.
|
void |
setCopyPrivateIp(Boolean copyPrivateIp)
Copy private IP.
|
void |
setCopyTags(Boolean copyTags)
Copy tags.
|
void |
setExportBucketArn(String exportBucketArn)
S3 bucket ARN to export Source Network templates.
|
void |
setLaunchConfigurationTemplateID(String launchConfigurationTemplateID)
ID of the Launch Configuration Template.
|
void |
setLaunchDisposition(String launchDisposition)
Launch disposition.
|
void |
setLaunchIntoSourceInstance(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.
|
void |
setLicensing(Licensing licensing)
Licensing.
|
void |
setPostLaunchEnabled(Boolean postLaunchEnabled)
Post-launch actions activated.
|
void |
setTags(Map<String,String> tags)
Tags of the Launch Configuration Template.
|
void |
setTargetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
|
String |
toString()
Returns a string representation of this object.
|
LaunchConfigurationTemplate |
withArn(String arn)
ARN of the Launch Configuration Template.
|
LaunchConfigurationTemplate |
withCopyPrivateIp(Boolean copyPrivateIp)
Copy private IP.
|
LaunchConfigurationTemplate |
withCopyTags(Boolean copyTags)
Copy tags.
|
LaunchConfigurationTemplate |
withExportBucketArn(String exportBucketArn)
S3 bucket ARN to export Source Network templates.
|
LaunchConfigurationTemplate |
withLaunchConfigurationTemplateID(String launchConfigurationTemplateID)
ID of the Launch Configuration Template.
|
LaunchConfigurationTemplate |
withLaunchDisposition(LaunchDisposition launchDisposition)
Launch disposition.
|
LaunchConfigurationTemplate |
withLaunchDisposition(String launchDisposition)
Launch disposition.
|
LaunchConfigurationTemplate |
withLaunchIntoSourceInstance(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.
|
LaunchConfigurationTemplate |
withLicensing(Licensing licensing)
Licensing.
|
LaunchConfigurationTemplate |
withPostLaunchEnabled(Boolean postLaunchEnabled)
Post-launch actions activated.
|
LaunchConfigurationTemplate |
withTags(Map<String,String> tags)
Tags of the Launch Configuration Template.
|
LaunchConfigurationTemplate |
withTargetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
|
LaunchConfigurationTemplate |
withTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
|
public void setArn(String arn)
ARN of the Launch Configuration Template.
arn
- ARN of the Launch Configuration Template.public String getArn()
ARN of the Launch Configuration Template.
public LaunchConfigurationTemplate withArn(String arn)
ARN of the Launch Configuration Template.
arn
- ARN of the Launch Configuration Template.public void setCopyPrivateIp(Boolean copyPrivateIp)
Copy private IP.
copyPrivateIp
- Copy private IP.public Boolean getCopyPrivateIp()
Copy private IP.
public LaunchConfigurationTemplate withCopyPrivateIp(Boolean copyPrivateIp)
Copy private IP.
copyPrivateIp
- Copy private IP.public Boolean isCopyPrivateIp()
Copy private IP.
public void setCopyTags(Boolean copyTags)
Copy tags.
copyTags
- Copy tags.public Boolean getCopyTags()
Copy tags.
public LaunchConfigurationTemplate withCopyTags(Boolean copyTags)
Copy tags.
copyTags
- Copy tags.public Boolean isCopyTags()
Copy tags.
public void setExportBucketArn(String exportBucketArn)
S3 bucket ARN to export Source Network templates.
exportBucketArn
- S3 bucket ARN to export Source Network templates.public String getExportBucketArn()
S3 bucket ARN to export Source Network templates.
public LaunchConfigurationTemplate withExportBucketArn(String exportBucketArn)
S3 bucket ARN to export Source Network templates.
exportBucketArn
- S3 bucket ARN to export Source Network templates.public void setLaunchConfigurationTemplateID(String launchConfigurationTemplateID)
ID of the Launch Configuration Template.
launchConfigurationTemplateID
- ID of the Launch Configuration Template.public String getLaunchConfigurationTemplateID()
ID of the Launch Configuration Template.
public LaunchConfigurationTemplate withLaunchConfigurationTemplateID(String launchConfigurationTemplateID)
ID of the Launch Configuration Template.
launchConfigurationTemplateID
- ID of the Launch Configuration Template.public void setLaunchDisposition(String launchDisposition)
Launch disposition.
launchDisposition
- Launch disposition.LaunchDisposition
public String getLaunchDisposition()
Launch disposition.
LaunchDisposition
public LaunchConfigurationTemplate withLaunchDisposition(String launchDisposition)
Launch disposition.
launchDisposition
- Launch disposition.LaunchDisposition
public LaunchConfigurationTemplate withLaunchDisposition(LaunchDisposition launchDisposition)
Launch disposition.
launchDisposition
- Launch disposition.LaunchDisposition
public void setLaunchIntoSourceInstance(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.
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.public Boolean getLaunchIntoSourceInstance()
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.
public LaunchConfigurationTemplate withLaunchIntoSourceInstance(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.
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.public Boolean isLaunchIntoSourceInstance()
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.
public void setLicensing(Licensing licensing)
Licensing.
licensing
- Licensing.public Licensing getLicensing()
Licensing.
public LaunchConfigurationTemplate withLicensing(Licensing licensing)
Licensing.
licensing
- Licensing.public void setPostLaunchEnabled(Boolean postLaunchEnabled)
Post-launch actions activated.
postLaunchEnabled
- Post-launch actions activated.public Boolean getPostLaunchEnabled()
Post-launch actions activated.
public LaunchConfigurationTemplate withPostLaunchEnabled(Boolean postLaunchEnabled)
Post-launch actions activated.
postLaunchEnabled
- Post-launch actions activated.public Boolean isPostLaunchEnabled()
Post-launch actions activated.
public Map<String,String> getTags()
Tags of the Launch Configuration Template.
public void setTags(Map<String,String> tags)
Tags of the Launch Configuration Template.
tags
- Tags of the Launch Configuration Template.public LaunchConfigurationTemplate withTags(Map<String,String> tags)
Tags of the Launch Configuration Template.
tags
- Tags of the Launch Configuration Template.public LaunchConfigurationTemplate addTagsEntry(String key, String value)
public LaunchConfigurationTemplate clearTagsEntries()
public void setTargetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
targetInstanceTypeRightSizingMethod
- Target instance type right-sizing method.TargetInstanceTypeRightSizingMethod
public String getTargetInstanceTypeRightSizingMethod()
Target instance type right-sizing method.
TargetInstanceTypeRightSizingMethod
public LaunchConfigurationTemplate withTargetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
targetInstanceTypeRightSizingMethod
- Target instance type right-sizing method.TargetInstanceTypeRightSizingMethod
public LaunchConfigurationTemplate withTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod)
Target instance type right-sizing method.
targetInstanceTypeRightSizingMethod
- Target instance type right-sizing method.TargetInstanceTypeRightSizingMethod
public String toString()
toString
in class Object
Object.toString()
public LaunchConfigurationTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.