Class CfnReplicationConfigurationTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.drs.CfnReplicationConfigurationTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationConfigurationTemplate>
- Enclosing class:
CfnReplicationConfigurationTemplate
@Stability(Stable)
public static final class CfnReplicationConfigurationTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationConfigurationTemplate>
A fluent builder for
CfnReplicationConfigurationTemplate.-
Method Summary
Modifier and TypeMethodDescriptionassociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.associateDefaultSecurityGroup(IResolvable associateDefaultSecurityGroup) Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.autoReplicateNewDisks(Boolean autoReplicateNewDisks) Whether to allow the AWS replication agent to automatically replicate newly added disks.autoReplicateNewDisks(IResolvable autoReplicateNewDisks) Whether to allow the AWS replication agent to automatically replicate newly added disks.bandwidthThrottling(Number bandwidthThrottling) Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.build()createPublicIp(Boolean createPublicIp) Whether to create a Public IP for the Recovery Instance by default.createPublicIp(IResolvable createPublicIp) Whether to create a Public IP for the Recovery Instance by default.dataPlaneRouting(String dataPlaneRouting) The data plane routing mechanism that will be used for replication.defaultLargeStagingDiskType(String defaultLargeStagingDiskType) The Staging Disk EBS volume type to be used during replication.ebsEncryption(String ebsEncryption) The type of EBS encryption to be used during replication.ebsEncryptionKeyArn(String ebsEncryptionKeyArn) The ARN of the EBS encryption key to be used during replication.internetProtocol(String internetProtocol) Which version of the Internet Protocol to use for replication of data.The Point in time (PIT) policy to manage snapshots taken during replication.pitPolicy(IResolvable pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.replicationServerInstanceType(String replicationServerInstanceType) The instance type to be used for the replication server.replicationServersSecurityGroupsIDs(List<String> replicationServersSecurityGroupsIDs) The security group IDs that will be used by the replication server.stagingAreaSubnetId(String stagingAreaSubnetId) The subnet to be used by the replication staging area.stagingAreaTags(Map<String, String> stagingAreaTags) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.stagingAreaTags(IResolvable stagingAreaTags) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.A set of tags to be associated with the Replication Configuration Template resource.useDedicatedReplicationServer(Boolean useDedicatedReplicationServer) Whether to use a dedicated Replication Server in the replication staging area.useDedicatedReplicationServer(IResolvable useDedicatedReplicationServer) Whether to use a dedicated Replication Server in the replication staging area.
-
Method Details
-
create
@Stability(Stable) public static CfnReplicationConfigurationTemplate.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
CfnReplicationConfigurationTemplate.Builder.
-
bandwidthThrottling
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder bandwidthThrottling(Number bandwidthThrottling) Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.- Parameters:
bandwidthThrottling- Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps. This parameter is required.- Returns:
this- See Also:
-
ebsEncryption
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder ebsEncryption(String ebsEncryption) The type of EBS encryption to be used during replication.- Parameters:
ebsEncryption- The type of EBS encryption to be used during replication. This parameter is required.- Returns:
this- See Also:
-
pitPolicy
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder pitPolicy(IResolvable pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.- Parameters:
pitPolicy- The Point in time (PIT) policy to manage snapshots taken during replication. This parameter is required.- Returns:
this- See Also:
-
pitPolicy
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder pitPolicy(List<? extends Object> pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.- Parameters:
pitPolicy- The Point in time (PIT) policy to manage snapshots taken during replication. This parameter is required.- Returns:
this- See Also:
-
replicationServersSecurityGroupsIDs
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder replicationServersSecurityGroupsIDs(List<String> replicationServersSecurityGroupsIDs) The security group IDs that will be used by the replication server.- Parameters:
replicationServersSecurityGroupsIDs- The security group IDs that will be used by the replication server. This parameter is required.- Returns:
this- See Also:
-
stagingAreaSubnetId
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder stagingAreaSubnetId(String stagingAreaSubnetId) The subnet to be used by the replication staging area.- Parameters:
stagingAreaSubnetId- The subnet to be used by the replication staging area. This parameter is required.- Returns:
this- See Also:
-
stagingAreaTags
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder stagingAreaTags(IResolvable stagingAreaTags) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.- Parameters:
stagingAreaTags- A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. This parameter is required.- Returns:
this- See Also:
-
stagingAreaTags
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder stagingAreaTags(Map<String, String> stagingAreaTags) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.- Parameters:
stagingAreaTags- A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. This parameter is required.- Returns:
this- See Also:
-
associateDefaultSecurityGroup
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder associateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.- Parameters:
associateDefaultSecurityGroup- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template. This parameter is required.- Returns:
this- See Also:
-
associateDefaultSecurityGroup
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder associateDefaultSecurityGroup(IResolvable associateDefaultSecurityGroup) Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.- Parameters:
associateDefaultSecurityGroup- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template. This parameter is required.- Returns:
this- See Also:
-
autoReplicateNewDisks
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder autoReplicateNewDisks(Boolean autoReplicateNewDisks) Whether to allow the AWS replication agent to automatically replicate newly added disks.- Parameters:
autoReplicateNewDisks- Whether to allow the AWS replication agent to automatically replicate newly added disks. This parameter is required.- Returns:
this- See Also:
-
autoReplicateNewDisks
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder autoReplicateNewDisks(IResolvable autoReplicateNewDisks) Whether to allow the AWS replication agent to automatically replicate newly added disks.- Parameters:
autoReplicateNewDisks- Whether to allow the AWS replication agent to automatically replicate newly added disks. This parameter is required.- Returns:
this- See Also:
-
createPublicIp
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder createPublicIp(Boolean createPublicIp) Whether to create a Public IP for the Recovery Instance by default.- Parameters:
createPublicIp- Whether to create a Public IP for the Recovery Instance by default. This parameter is required.- Returns:
this- See Also:
-
createPublicIp
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder createPublicIp(IResolvable createPublicIp) Whether to create a Public IP for the Recovery Instance by default.- Parameters:
createPublicIp- Whether to create a Public IP for the Recovery Instance by default. This parameter is required.- Returns:
this- See Also:
-
dataPlaneRouting
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder dataPlaneRouting(String dataPlaneRouting) The data plane routing mechanism that will be used for replication.- Parameters:
dataPlaneRouting- The data plane routing mechanism that will be used for replication. This parameter is required.- Returns:
this- See Also:
-
defaultLargeStagingDiskType
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder defaultLargeStagingDiskType(String defaultLargeStagingDiskType) The Staging Disk EBS volume type to be used during replication.- Parameters:
defaultLargeStagingDiskType- The Staging Disk EBS volume type to be used during replication. This parameter is required.- Returns:
this- See Also:
-
ebsEncryptionKeyArn
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder ebsEncryptionKeyArn(String ebsEncryptionKeyArn) The ARN of the EBS encryption key to be used during replication.- Parameters:
ebsEncryptionKeyArn- The ARN of the EBS encryption key to be used during replication. This parameter is required.- Returns:
this- See Also:
-
internetProtocol
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder internetProtocol(String internetProtocol) Which version of the Internet Protocol to use for replication of data.- Parameters:
internetProtocol- Which version of the Internet Protocol to use for replication of data. This parameter is required.- Returns:
this- See Also:
-
replicationServerInstanceType
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder replicationServerInstanceType(String replicationServerInstanceType) The instance type to be used for the replication server.- Parameters:
replicationServerInstanceType- The instance type to be used for the replication server. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder tags(List<? extends CfnTag> tags) A set of tags to be associated with the Replication Configuration Template resource.- Parameters:
tags- A set of tags to be associated with the Replication Configuration Template resource. This parameter is required.- Returns:
this- See Also:
-
useDedicatedReplicationServer
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder useDedicatedReplicationServer(Boolean useDedicatedReplicationServer) Whether to use a dedicated Replication Server in the replication staging area.- Parameters:
useDedicatedReplicationServer- Whether to use a dedicated Replication Server in the replication staging area. This parameter is required.- Returns:
this- See Also:
-
useDedicatedReplicationServer
@Stability(Stable) public CfnReplicationConfigurationTemplate.Builder useDedicatedReplicationServer(IResolvable useDedicatedReplicationServer) Whether to use a dedicated Replication Server in the replication staging area.- Parameters:
useDedicatedReplicationServer- Whether to use a dedicated Replication Server in the replication staging area. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicationConfigurationTemplate>- Returns:
- a newly built instance of
CfnReplicationConfigurationTemplate.
-