Class CfnReplicationConfigurationTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.drs.CfnReplicationConfigurationTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationConfigurationTemplateMixinProps>
- Enclosing interface:
CfnReplicationConfigurationTemplateMixinProps
@Stability(Stable)
public static final class CfnReplicationConfigurationTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationConfigurationTemplateMixinProps>
A builder for
CfnReplicationConfigurationTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) associateDefaultSecurityGroup(IResolvable associateDefaultSecurityGroup) autoReplicateNewDisks(Boolean autoReplicateNewDisks) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getAutoReplicateNewDisks()autoReplicateNewDisks(IResolvable autoReplicateNewDisks) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getAutoReplicateNewDisks()bandwidthThrottling(Number bandwidthThrottling) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getBandwidthThrottling()build()Builds the configured instance.createPublicIp(Boolean createPublicIp) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getCreatePublicIp()createPublicIp(IResolvable createPublicIp) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getCreatePublicIp()dataPlaneRouting(String dataPlaneRouting) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getDataPlaneRouting()defaultLargeStagingDiskType(String defaultLargeStagingDiskType) ebsEncryption(String ebsEncryption) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getEbsEncryption()ebsEncryptionKeyArn(String ebsEncryptionKeyArn) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getEbsEncryptionKeyArn()internetProtocol(String internetProtocol) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getInternetProtocol()Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getPitPolicy()pitPolicy(IResolvable pitPolicy) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getPitPolicy()replicationServerInstanceType(String replicationServerInstanceType) replicationServersSecurityGroupsIDs(List<String> replicationServersSecurityGroupsIDs) stagingAreaSubnetId(String stagingAreaSubnetId) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaSubnetId()stagingAreaTags(Map<String, String> stagingAreaTags) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaTags()stagingAreaTags(IResolvable stagingAreaTags) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaTags()Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getTags()useDedicatedReplicationServer(Boolean useDedicatedReplicationServer) useDedicatedReplicationServer(IResolvable useDedicatedReplicationServer)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associateDefaultSecurityGroup
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder associateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) - Parameters:
associateDefaultSecurityGroup- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.- Returns:
this
-
associateDefaultSecurityGroup
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder associateDefaultSecurityGroup(IResolvable associateDefaultSecurityGroup) - Parameters:
associateDefaultSecurityGroup- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.- Returns:
this
-
autoReplicateNewDisks
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder autoReplicateNewDisks(Boolean autoReplicateNewDisks) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getAutoReplicateNewDisks()- Parameters:
autoReplicateNewDisks- Whether to allow the AWS replication agent to automatically replicate newly added disks.- Returns:
this
-
autoReplicateNewDisks
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder autoReplicateNewDisks(IResolvable autoReplicateNewDisks) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getAutoReplicateNewDisks()- Parameters:
autoReplicateNewDisks- Whether to allow the AWS replication agent to automatically replicate newly added disks.- Returns:
this
-
bandwidthThrottling
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder bandwidthThrottling(Number bandwidthThrottling) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getBandwidthThrottling()- Parameters:
bandwidthThrottling- Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.- Returns:
this
-
createPublicIp
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder createPublicIp(Boolean createPublicIp) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getCreatePublicIp()- Parameters:
createPublicIp- Whether to create a Public IP for the Recovery Instance by default.- Returns:
this
-
createPublicIp
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder createPublicIp(IResolvable createPublicIp) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getCreatePublicIp()- Parameters:
createPublicIp- Whether to create a Public IP for the Recovery Instance by default.- Returns:
this
-
dataPlaneRouting
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder dataPlaneRouting(String dataPlaneRouting) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getDataPlaneRouting()- Parameters:
dataPlaneRouting- The data plane routing mechanism that will be used for replication.- Returns:
this
-
defaultLargeStagingDiskType
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder defaultLargeStagingDiskType(String defaultLargeStagingDiskType) - Parameters:
defaultLargeStagingDiskType- The Staging Disk EBS volume type to be used during replication.- Returns:
this
-
ebsEncryption
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder ebsEncryption(String ebsEncryption) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getEbsEncryption()- Parameters:
ebsEncryption- The type of EBS encryption to be used during replication.- Returns:
this
-
ebsEncryptionKeyArn
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder ebsEncryptionKeyArn(String ebsEncryptionKeyArn) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getEbsEncryptionKeyArn()- Parameters:
ebsEncryptionKeyArn- The ARN of the EBS encryption key to be used during replication.- Returns:
this
-
internetProtocol
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder internetProtocol(String internetProtocol) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getInternetProtocol()- Parameters:
internetProtocol- Which version of the Internet Protocol to use for replication of data.- Returns:
this
-
pitPolicy
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder pitPolicy(IResolvable pitPolicy) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getPitPolicy()- Parameters:
pitPolicy- The Point in time (PIT) policy to manage snapshots taken during replication.- Returns:
this
-
pitPolicy
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder pitPolicy(List<? extends Object> pitPolicy) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getPitPolicy()- Parameters:
pitPolicy- The Point in time (PIT) policy to manage snapshots taken during replication.- Returns:
this
-
replicationServerInstanceType
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder replicationServerInstanceType(String replicationServerInstanceType) - Parameters:
replicationServerInstanceType- The instance type to be used for the replication server.- Returns:
this
-
replicationServersSecurityGroupsIDs
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder replicationServersSecurityGroupsIDs(List<String> replicationServersSecurityGroupsIDs) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getReplicationServersSecurityGroupsIDs()- Parameters:
replicationServersSecurityGroupsIDs- The security group IDs that will be used by the replication server.- Returns:
this
-
stagingAreaSubnetId
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder stagingAreaSubnetId(String stagingAreaSubnetId) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaSubnetId()- Parameters:
stagingAreaSubnetId- The subnet to be used by the replication staging area.- Returns:
this
-
stagingAreaTags
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder stagingAreaTags(IResolvable stagingAreaTags) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaTags()- 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.- Returns:
this
-
stagingAreaTags
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder stagingAreaTags(Map<String, String> stagingAreaTags) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getStagingAreaTags()- 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.- Returns:
this
-
tags
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnReplicationConfigurationTemplateMixinProps.getTags()- Parameters:
tags- A set of tags to be associated with the Replication Configuration Template resource.- Returns:
this
-
useDedicatedReplicationServer
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder useDedicatedReplicationServer(Boolean useDedicatedReplicationServer) - Parameters:
useDedicatedReplicationServer- Whether to use a dedicated Replication Server in the replication staging area.- Returns:
this
-
useDedicatedReplicationServer
@Stability(Stable) public CfnReplicationConfigurationTemplateMixinProps.Builder useDedicatedReplicationServer(IResolvable useDedicatedReplicationServer) - Parameters:
useDedicatedReplicationServer- Whether to use a dedicated Replication Server in the replication staging area.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicationConfigurationTemplateMixinProps>- Returns:
- a new instance of
CfnReplicationConfigurationTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-