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 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

      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:
    • 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

      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

      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:
    • 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

      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

      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 the PITPolicyRule.Builder avoiding the need to create one manually via PITPolicyRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pitPolicy(List<PITPolicyRule>).

      Parameters:
      pitPolicy - a consumer that will call methods on PITPolicyRule.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

      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

      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.