Interface CreateReplicationConfigurationTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateReplicationConfigurationTemplateRequest.Builder,
,CreateReplicationConfigurationTemplateRequest> DrsRequest.Builder
,SdkBuilder<CreateReplicationConfigurationTemplateRequest.Builder,
,CreateReplicationConfigurationTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateReplicationConfigurationTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociateDefaultSecurityGroup
(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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsRequest.Builder
build
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
-
associateDefaultSecurityGroup
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
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
CreateReplicationConfigurationTemplateRequest.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.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:
-
replicationServerInstanceType
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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
CreateReplicationConfigurationTemplateRequest.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.
-
overrideConfiguration
CreateReplicationConfigurationTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateReplicationConfigurationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-