Interface ReplicationConfigurationTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationConfigurationTemplate.Builder,
,ReplicationConfigurationTemplate> SdkBuilder<ReplicationConfigurationTemplate.Builder,
,ReplicationConfigurationTemplate> SdkPojo
- Enclosing class:
ReplicationConfigurationTemplate
-
Method Summary
Modifier and TypeMethodDescriptionThe Replication Configuration Template ARN.associateDefaultSecurityGroup
(Boolean 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.bandwidthThrottling
(Long bandwidthThrottling) Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.createPublicIP
(Boolean 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.dataPlaneRouting
(ReplicationConfigurationDataPlaneRouting 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.defaultLargeStagingDiskType
(ReplicationConfigurationDefaultLargeStagingDiskType 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.ebsEncryption
(ReplicationConfigurationEbsEncryption 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.pitPolicy
(Collection<PITPolicyRule> pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.pitPolicy
(Consumer<PITPolicyRule.Builder>... pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.pitPolicy
(PITPolicyRule... pitPolicy) The Point in time (PIT) policy to manage snapshots taken during replication.replicationConfigurationTemplateID
(String replicationConfigurationTemplateID) The Replication Configuration Template ID.replicationServerInstanceType
(String replicationServerInstanceType) The instance type to be used for the replication server.replicationServersSecurityGroupsIDs
(String... replicationServersSecurityGroupsIDs) The security group IDs that will be used by the replication server.replicationServersSecurityGroupsIDs
(Collection<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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Replication Configuration Template ARN.
- Parameters:
arn
- The Replication Configuration Template ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associateDefaultSecurityGroup
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPlaneRouting
ReplicationConfigurationTemplate.Builder dataPlaneRouting(ReplicationConfigurationDataPlaneRouting 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultLargeStagingDiskType
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultLargeStagingDiskType
ReplicationConfigurationTemplate.Builder defaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsEncryption
The type of EBS encryption to be used during replication.
- Parameters:
ebsEncryption
- The type of EBS encryption to be used during replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsEncryption
ReplicationConfigurationTemplate.Builder ebsEncryption(ReplicationConfigurationEbsEncryption ebsEncryption) The type of EBS encryption to be used during replication.
- Parameters:
ebsEncryption
- The type of EBS encryption to be used during replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pitPolicy
The Point in time (PIT) policy to manage snapshots taken during replication.
This is a convenience method that creates an instance of thePITPolicyRule.Builder
avoiding the need to create one manually viaPITPolicyRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topitPolicy(List<PITPolicyRule>)
.- Parameters:
pitPolicy
- a consumer that will call methods onPITPolicyRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationConfigurationTemplateID
ReplicationConfigurationTemplate.Builder replicationConfigurationTemplateID(String replicationConfigurationTemplateID) The Replication Configuration Template ID.
- Parameters:
replicationConfigurationTemplateID
- The Replication Configuration Template ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationServerInstanceType
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationServersSecurityGroupsIDs
ReplicationConfigurationTemplate.Builder replicationServersSecurityGroupsIDs(Collection<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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationServersSecurityGroupsIDs
ReplicationConfigurationTemplate.Builder replicationServersSecurityGroupsIDs(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingAreaSubnetId
The subnet to be used by the replication staging area.
- Parameters:
stagingAreaSubnetId
- The subnet to be used by the replication staging area.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useDedicatedReplicationServer
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-