Interface ReplicationConfigurationTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationConfigurationTemplate.Builder,ReplicationConfigurationTemplate>,SdkBuilder<ReplicationConfigurationTemplate.Builder,ReplicationConfigurationTemplate>,SdkPojo
- Enclosing class:
- ReplicationConfigurationTemplate
public static interface ReplicationConfigurationTemplate.Builder extends SdkPojo, CopyableBuilder<ReplicationConfigurationTemplate.Builder,ReplicationConfigurationTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationConfigurationTemplate.Builderarn(String arn)The Replication Configuration Template ARN.ReplicationConfigurationTemplate.BuilderassociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup)Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.ReplicationConfigurationTemplate.BuilderautoReplicateNewDisks(Boolean autoReplicateNewDisks)Whether to allow the AWS replication agent to automatically replicate newly added disks.ReplicationConfigurationTemplate.BuilderbandwidthThrottling(Long bandwidthThrottling)Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.ReplicationConfigurationTemplate.BuildercreatePublicIP(Boolean createPublicIP)Whether to create a Public IP for the Recovery Instance by default.ReplicationConfigurationTemplate.BuilderdataPlaneRouting(String dataPlaneRouting)The data plane routing mechanism that will be used for replication.ReplicationConfigurationTemplate.BuilderdataPlaneRouting(ReplicationConfigurationDataPlaneRouting dataPlaneRouting)The data plane routing mechanism that will be used for replication.ReplicationConfigurationTemplate.BuilderdefaultLargeStagingDiskType(String defaultLargeStagingDiskType)The Staging Disk EBS volume type to be used during replication.ReplicationConfigurationTemplate.BuilderdefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType defaultLargeStagingDiskType)The Staging Disk EBS volume type to be used during replication.ReplicationConfigurationTemplate.BuilderebsEncryption(String ebsEncryption)The type of EBS encryption to be used during replication.ReplicationConfigurationTemplate.BuilderebsEncryption(ReplicationConfigurationEbsEncryption ebsEncryption)The type of EBS encryption to be used during replication.ReplicationConfigurationTemplate.BuilderebsEncryptionKeyArn(String ebsEncryptionKeyArn)The ARN of the EBS encryption key to be used during replication.ReplicationConfigurationTemplate.BuilderpitPolicy(Collection<PITPolicyRule> pitPolicy)The Point in time (PIT) policy to manage snapshots taken during replication.ReplicationConfigurationTemplate.BuilderpitPolicy(Consumer<PITPolicyRule.Builder>... pitPolicy)The Point in time (PIT) policy to manage snapshots taken during replication.ReplicationConfigurationTemplate.BuilderpitPolicy(PITPolicyRule... pitPolicy)The Point in time (PIT) policy to manage snapshots taken during replication.ReplicationConfigurationTemplate.BuilderreplicationConfigurationTemplateID(String replicationConfigurationTemplateID)The Replication Configuration Template ID.ReplicationConfigurationTemplate.BuilderreplicationServerInstanceType(String replicationServerInstanceType)The instance type to be used for the replication server.ReplicationConfigurationTemplate.BuilderreplicationServersSecurityGroupsIDs(String... replicationServersSecurityGroupsIDs)The security group IDs that will be used by the replication server.ReplicationConfigurationTemplate.BuilderreplicationServersSecurityGroupsIDs(Collection<String> replicationServersSecurityGroupsIDs)The security group IDs that will be used by the replication server.ReplicationConfigurationTemplate.BuilderstagingAreaSubnetId(String stagingAreaSubnetId)The subnet to be used by the replication staging area.ReplicationConfigurationTemplate.BuilderstagingAreaTags(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.ReplicationConfigurationTemplate.Buildertags(Map<String,String> tags)A set of tags to be associated with the Replication Configuration Template resource.ReplicationConfigurationTemplate.BuilderuseDedicatedReplicationServer(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 Detail
-
arn
ReplicationConfigurationTemplate.Builder arn(String 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
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidthThrottling
ReplicationConfigurationTemplate.Builder bandwidthThrottling(Long 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
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPlaneRouting
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationConfigurationDataPlaneRouting,ReplicationConfigurationDataPlaneRouting
-
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:
ReplicationConfigurationDataPlaneRouting,ReplicationConfigurationDataPlaneRouting
-
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:
ReplicationConfigurationDefaultLargeStagingDiskType,ReplicationConfigurationDefaultLargeStagingDiskType
-
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:
ReplicationConfigurationDefaultLargeStagingDiskType,ReplicationConfigurationDefaultLargeStagingDiskType
-
ebsEncryption
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationConfigurationEbsEncryption,ReplicationConfigurationEbsEncryption
-
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:
ReplicationConfigurationEbsEncryption,ReplicationConfigurationEbsEncryption
-
ebsEncryptionKeyArn
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pitPolicy
ReplicationConfigurationTemplate.Builder pitPolicy(Collection<PITPolicyRule> 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
ReplicationConfigurationTemplate.Builder pitPolicy(PITPolicyRule... 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
ReplicationConfigurationTemplate.Builder pitPolicy(Consumer<PITPolicyRule.Builder>... pitPolicy)
The Point in time (PIT) policy to manage snapshots taken during replication.
This is a convenience method that creates an instance of thePITPolicyRule.Builderavoiding the need to create one manually viaPITPolicyRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pitPolicy(List.) - 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:
#pitPolicy(java.util.Collection)
-
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
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingAreaTags
ReplicationConfigurationTemplate.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ReplicationConfigurationTemplate.Builder tags(Map<String,String> 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.
-
-