Class CfnLaunchConfigurationTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.drs.CfnLaunchConfigurationTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate>
- Enclosing class:
CfnLaunchConfigurationTemplate
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate>
A fluent builder for
CfnLaunchConfigurationTemplate.-
Method Summary
Modifier and TypeMethodDescriptionbuild()copyPrivateIp(Boolean copyPrivateIp) Copy private IP.copyPrivateIp(IResolvable copyPrivateIp) Copy private IP.Copy tags.copyTags(IResolvable copyTags) Copy tags.exportBucketArn(String exportBucketArn) S3 bucket ARN to export Source Network templates.launchDisposition(String launchDisposition) Launch disposition.launchIntoSourceInstance(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(IResolvable 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.licensing(IResolvable licensing) Configuration of a machine's license.Configuration of a machine's license.postLaunchEnabled(Boolean postLaunchEnabled) Whether we want to activate post-launch actions.postLaunchEnabled(IResolvable postLaunchEnabled) Whether we want to activate post-launch actions.A set of tags associated with the Launch Configuration Template.targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.
-
Method Details
-
create
@Stability(Stable) public static CfnLaunchConfigurationTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLaunchConfigurationTemplate.Builder.
-
copyPrivateIp
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder copyPrivateIp(Boolean copyPrivateIp) Copy private IP.- Parameters:
copyPrivateIp- Copy private IP. This parameter is required.- Returns:
this- See Also:
-
copyPrivateIp
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder copyPrivateIp(IResolvable copyPrivateIp) Copy private IP.- Parameters:
copyPrivateIp- Copy private IP. This parameter is required.- Returns:
this- See Also:
-
copyTags
Copy tags.- Parameters:
copyTags- Copy tags. This parameter is required.- Returns:
this- See Also:
-
copyTags
Copy tags.- Parameters:
copyTags- Copy tags. This parameter is required.- Returns:
this- See Also:
-
exportBucketArn
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder exportBucketArn(String exportBucketArn) S3 bucket ARN to export Source Network templates.- Parameters:
exportBucketArn- S3 bucket ARN to export Source Network templates. This parameter is required.- Returns:
this- See Also:
-
launchDisposition
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder launchDisposition(String launchDisposition) Launch disposition.- Parameters:
launchDisposition- Launch disposition. This parameter is required.- Returns:
this- See Also:
-
launchIntoSourceInstance
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder launchIntoSourceInstance(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.- Parameters:
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. This parameter is required.- Returns:
this- See Also:
-
launchIntoSourceInstance
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder launchIntoSourceInstance(IResolvable 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.- Parameters:
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. This parameter is required.- Returns:
this- See Also:
-
licensing
Configuration of a machine's license.- Parameters:
licensing- Configuration of a machine's license. This parameter is required.- Returns:
this- See Also:
-
licensing
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder licensing(CfnLaunchConfigurationTemplate.LicensingProperty licensing) Configuration of a machine's license.- Parameters:
licensing- Configuration of a machine's license. This parameter is required.- Returns:
this- See Also:
-
postLaunchEnabled
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder postLaunchEnabled(Boolean postLaunchEnabled) Whether we want to activate post-launch actions.- Parameters:
postLaunchEnabled- Whether we want to activate post-launch actions. This parameter is required.- Returns:
this- See Also:
-
postLaunchEnabled
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder postLaunchEnabled(IResolvable postLaunchEnabled) Whether we want to activate post-launch actions.- Parameters:
postLaunchEnabled- Whether we want to activate post-launch actions. This parameter is required.- Returns:
this- See Also:
-
tags
A set of tags associated with the Launch Configuration Template.- Parameters:
tags- A set of tags associated with the Launch Configuration Template. This parameter is required.- Returns:
this- See Also:
-
targetInstanceTypeRightSizingMethod
@Stability(Stable) public CfnLaunchConfigurationTemplate.Builder targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.- Parameters:
targetInstanceTypeRightSizingMethod- Target instance type right-sizing method. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplate>- Returns:
- a newly built instance of
CfnLaunchConfigurationTemplate.
-