Interface AwsDmsReplicationInstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsDmsReplicationInstanceDetails.Builder,
,AwsDmsReplicationInstanceDetails> SdkBuilder<AwsDmsReplicationInstanceDetails.Builder,
,AwsDmsReplicationInstanceDetails> SdkPojo
- Enclosing class:
AwsDmsReplicationInstanceDetails
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) The amount of storage (in gigabytes) that is allocated for the replication instance.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.availabilityZone
(String availabilityZone) The Availability Zone that the replication instance is created in.engineVersion
(String engineVersion) The engine version number of the replication instance.An KMS key identifier that is used to encrypt the data on the replication instance.Specifies whether the replication instance is deployed across multiple Availability Zones (AZs).preferredMaintenanceWindow
(String preferredMaintenanceWindow) The maintenance window times for the replication instance.publiclyAccessible
(Boolean publiclyAccessible) Specifies the accessibility options for the replication instance.replicationInstanceClass
(String replicationInstanceClass) The compute and memory capacity of the replication instance as defined for the specified replication instance class.replicationInstanceIdentifier
(String replicationInstanceIdentifier) The replication instance identifier.replicationSubnetGroup
(Consumer<AwsDmsReplicationInstanceReplicationSubnetGroupDetails.Builder> replicationSubnetGroup) The subnet group for the replication instance.replicationSubnetGroup
(AwsDmsReplicationInstanceReplicationSubnetGroupDetails replicationSubnetGroup) The subnet group for the replication instance.vpcSecurityGroups
(Collection<AwsDmsReplicationInstanceVpcSecurityGroupsDetails> vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.vpcSecurityGroups
(Consumer<AwsDmsReplicationInstanceVpcSecurityGroupsDetails.Builder>... vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.vpcSecurityGroups
(AwsDmsReplicationInstanceVpcSecurityGroupsDetails... vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.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
-
allocatedStorage
The amount of storage (in gigabytes) that is allocated for the replication instance.
- Parameters:
allocatedStorage
- The amount of storage (in gigabytes) that is allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMinorVersionUpgrade
Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.
- Parameters:
autoMinorVersionUpgrade
- Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone that the replication instance is created in. The default value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, such as
us-east-1d
.- Parameters:
availabilityZone
- The Availability Zone that the replication instance is created in. The default value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, such asus-east-1d
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
- Parameters:
engineVersion
- The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
An KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for the
KmsKeyId
parameter, DMS uses your default encryption key. KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.- Parameters:
kmsKeyId
- An KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for theKmsKeyId
parameter, DMS uses your default encryption key. KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAZ
Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the
AvailabilityZone
parameter if theMultiAZ
parameter is set totrue
.- Parameters:
multiAZ
- Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set theAvailabilityZone
parameter if theMultiAZ
parameter is set totrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMaintenanceWindow
AwsDmsReplicationInstanceDetails.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow) The maintenance window times for the replication instance. Upgrades to the replication instance are performed during this time.
- Parameters:
preferredMaintenanceWindow
- The maintenance window times for the replication instance. Upgrades to the replication instance are performed during this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
Specifies the accessibility options for the replication instance. A value of
true
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.- Parameters:
publiclyAccessible
- Specifies the accessibility options for the replication instance. A value oftrue
represents an instance with a public IP address. A value offalse
represents an instance with a private IP address. The default value istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInstanceClass
The compute and memory capacity of the replication instance as defined for the specified replication instance class.
- Parameters:
replicationInstanceClass
- The compute and memory capacity of the replication instance as defined for the specified replication instance class.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInstanceIdentifier
AwsDmsReplicationInstanceDetails.Builder replicationInstanceIdentifier(String replicationInstanceIdentifier) The replication instance identifier.
- Parameters:
replicationInstanceIdentifier
- The replication instance identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSubnetGroup
AwsDmsReplicationInstanceDetails.Builder replicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails replicationSubnetGroup) The subnet group for the replication instance.
- Parameters:
replicationSubnetGroup
- The subnet group for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSubnetGroup
default AwsDmsReplicationInstanceDetails.Builder replicationSubnetGroup(Consumer<AwsDmsReplicationInstanceReplicationSubnetGroupDetails.Builder> replicationSubnetGroup) The subnet group for the replication instance.
This is a convenience method that creates an instance of theAwsDmsReplicationInstanceReplicationSubnetGroupDetails.Builder
avoiding the need to create one manually viaAwsDmsReplicationInstanceReplicationSubnetGroupDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails)
.- Parameters:
replicationSubnetGroup
- a consumer that will call methods onAwsDmsReplicationInstanceReplicationSubnetGroupDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSecurityGroups
AwsDmsReplicationInstanceDetails.Builder vpcSecurityGroups(Collection<AwsDmsReplicationInstanceVpcSecurityGroupsDetails> vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.
- Parameters:
vpcSecurityGroups
- The virtual private cloud (VPC) security group for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
AwsDmsReplicationInstanceDetails.Builder vpcSecurityGroups(AwsDmsReplicationInstanceVpcSecurityGroupsDetails... vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.
- Parameters:
vpcSecurityGroups
- The virtual private cloud (VPC) security group for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
AwsDmsReplicationInstanceDetails.Builder vpcSecurityGroups(Consumer<AwsDmsReplicationInstanceVpcSecurityGroupsDetails.Builder>... vpcSecurityGroups) The virtual private cloud (VPC) security group for the replication instance.
This is a convenience method that creates an instance of theAwsDmsReplicationInstanceVpcSecurityGroupsDetails.Builder
avoiding the need to create one manually viaAwsDmsReplicationInstanceVpcSecurityGroupsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSecurityGroups(List<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>)
.- Parameters:
vpcSecurityGroups
- a consumer that will call methods onAwsDmsReplicationInstanceVpcSecurityGroupsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-