Interface AwsDmsReplicationInstanceDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsDmsReplicationInstanceDetails.Builder,AwsDmsReplicationInstanceDetails>,SdkBuilder<AwsDmsReplicationInstanceDetails.Builder,AwsDmsReplicationInstanceDetails>,SdkPojo
- Enclosing class:
- AwsDmsReplicationInstanceDetails
public static interface AwsDmsReplicationInstanceDetails.Builder extends SdkPojo, CopyableBuilder<AwsDmsReplicationInstanceDetails.Builder,AwsDmsReplicationInstanceDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsDmsReplicationInstanceDetails.BuilderallocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) that is allocated for the replication instance.AwsDmsReplicationInstanceDetails.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.AwsDmsReplicationInstanceDetails.BuilderavailabilityZone(String availabilityZone)The Availability Zone that the replication instance is created in.AwsDmsReplicationInstanceDetails.BuilderengineVersion(String engineVersion)The engine version number of the replication instance.AwsDmsReplicationInstanceDetails.BuilderkmsKeyId(String kmsKeyId)An KMS key identifier that is used to encrypt the data on the replication instance.AwsDmsReplicationInstanceDetails.BuildermultiAZ(Boolean multiAZ)Specifies whether the replication instance is deployed across multiple Availability Zones (AZs).AwsDmsReplicationInstanceDetails.BuilderpreferredMaintenanceWindow(String preferredMaintenanceWindow)The maintenance window times for the replication instance.AwsDmsReplicationInstanceDetails.BuilderpubliclyAccessible(Boolean publiclyAccessible)Specifies the accessibility options for the replication instance.AwsDmsReplicationInstanceDetails.BuilderreplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance as defined for the specified replication instance class.AwsDmsReplicationInstanceDetails.BuilderreplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.default AwsDmsReplicationInstanceDetails.BuilderreplicationSubnetGroup(Consumer<AwsDmsReplicationInstanceReplicationSubnetGroupDetails.Builder> replicationSubnetGroup)The subnet group for the replication instance.AwsDmsReplicationInstanceDetails.BuilderreplicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails replicationSubnetGroup)The subnet group for the replication instance.AwsDmsReplicationInstanceDetails.BuildervpcSecurityGroups(Collection<AwsDmsReplicationInstanceVpcSecurityGroupsDetails> vpcSecurityGroups)The virtual private cloud (VPC) security group for the replication instance.AwsDmsReplicationInstanceDetails.BuildervpcSecurityGroups(Consumer<AwsDmsReplicationInstanceVpcSecurityGroupsDetails.Builder>... vpcSecurityGroups)The virtual private cloud (VPC) security group for the replication instance.AwsDmsReplicationInstanceDetails.BuildervpcSecurityGroups(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 Detail
-
allocatedStorage
AwsDmsReplicationInstanceDetails.Builder allocatedStorage(Integer 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
AwsDmsReplicationInstanceDetails.Builder autoMinorVersionUpgrade(Boolean 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
AwsDmsReplicationInstanceDetails.Builder availabilityZone(String 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
AwsDmsReplicationInstanceDetails.Builder engineVersion(String 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
AwsDmsReplicationInstanceDetails.Builder kmsKeyId(String 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
KmsKeyIdparameter, 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 theKmsKeyIdparameter, 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
AwsDmsReplicationInstanceDetails.Builder multiAZ(Boolean multiAZ)
Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the
AvailabilityZoneparameter if theMultiAZparameter is set totrue.- Parameters:
multiAZ- Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set theAvailabilityZoneparameter if theMultiAZparameter 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
AwsDmsReplicationInstanceDetails.Builder publiclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance. A value of
truerepresents an instance with a public IP address. A value offalserepresents an instance with a private IP address. The default value istrue.- Parameters:
publiclyAccessible- Specifies the accessibility options for the replication instance. A value oftruerepresents an instance with a public IP address. A value offalserepresents 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
AwsDmsReplicationInstanceDetails.Builder replicationInstanceClass(String 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.Builderavoiding the need to create one manually viaAwsDmsReplicationInstanceReplicationSubnetGroupDetails.builder().When the
Consumercompletes,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:
replicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails)
-
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.Builderavoiding the need to create one manually viaAwsDmsReplicationInstanceVpcSecurityGroupsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcSecurityGroups(List.) - 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:
#vpcSecurityGroups(java.util.Collection)
-
-