public static interface ReplicationInstance.Builder extends SdkPojo, CopyableBuilder<ReplicationInstance.Builder,ReplicationInstance>
| Modifier and Type | Method and Description |
|---|---|
ReplicationInstance.Builder |
allocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.
|
ReplicationInstance.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
|
ReplicationInstance.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the instance.
|
ReplicationInstance.Builder |
dnsNameServers(String dnsNameServers)
The DNS name servers supported for the replication instance to access your on-premise source or target
database.
|
ReplicationInstance.Builder |
engineVersion(String engineVersion)
The engine version number of the replication instance.
|
ReplicationInstance.Builder |
freeUntil(Instant freeUntil)
The expiration date of the free replication instance that is part of the Free DMS program.
|
ReplicationInstance.Builder |
instanceCreateTime(Instant instanceCreateTime)
The time the replication instance was created.
|
ReplicationInstance.Builder |
kmsKeyId(String kmsKeyId)
An KMS key identifier that is used to encrypt the data on the replication instance.
|
ReplicationInstance.Builder |
multiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment.
|
ReplicationInstance.Builder |
networkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports
both IPv4 and IPv6 addressing.
|
default ReplicationInstance.Builder |
pendingModifiedValues(Consumer<ReplicationPendingModifiedValues.Builder> pendingModifiedValues)
The pending modification values.
|
ReplicationInstance.Builder |
pendingModifiedValues(ReplicationPendingModifiedValues pendingModifiedValues)
The pending modification values.
|
ReplicationInstance.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window times for the replication instance.
|
ReplicationInstance.Builder |
publiclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance.
|
ReplicationInstance.Builder |
replicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
ReplicationInstance.Builder |
replicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance
class.
|
ReplicationInstance.Builder |
replicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier is a required parameter.
|
ReplicationInstance.Builder |
replicationInstanceIpv6Addresses(Collection<String> replicationInstanceIpv6Addresses)
One or more IPv6 addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstanceIpv6Addresses(String... replicationInstanceIpv6Addresses)
One or more IPv6 addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstancePrivateIpAddress(String replicationInstancePrivateIpAddress)
Deprecated.
|
ReplicationInstance.Builder |
replicationInstancePrivateIpAddresses(Collection<String> replicationInstancePrivateIpAddresses)
One or more private IP addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstancePrivateIpAddresses(String... replicationInstancePrivateIpAddresses)
One or more private IP addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstancePublicIpAddress(String replicationInstancePublicIpAddress)
Deprecated.
|
ReplicationInstance.Builder |
replicationInstancePublicIpAddresses(Collection<String> replicationInstancePublicIpAddresses)
One or more public IP addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstancePublicIpAddresses(String... replicationInstancePublicIpAddresses)
One or more public IP addresses for the replication instance.
|
ReplicationInstance.Builder |
replicationInstanceStatus(String replicationInstanceStatus)
The status of the replication instance.
|
default ReplicationInstance.Builder |
replicationSubnetGroup(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup)
The subnet group for the replication instance.
|
ReplicationInstance.Builder |
replicationSubnetGroup(ReplicationSubnetGroup replicationSubnetGroup)
The subnet group for the replication instance.
|
ReplicationInstance.Builder |
secondaryAvailabilityZone(String secondaryAvailabilityZone)
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
|
ReplicationInstance.Builder |
vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
The VPC security group for the instance.
|
ReplicationInstance.Builder |
vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)
The VPC security group for the instance.
|
ReplicationInstance.Builder |
vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
The VPC security group for the instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicationInstance.Builder replicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.
Constraints:
Must contain 1-63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
replicationInstanceIdentifier - The replication instance identifier is a required parameter. This parameter is stored as a lowercase
string.
Constraints:
Must contain 1-63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
ReplicationInstance.Builder replicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
replicationInstanceClass - The compute and memory capacity of the replication instance as defined for the specified replication
instance class. It is a required parameter, although a default value is pre-selected in the DMS
console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
ReplicationInstance.Builder replicationInstanceStatus(String replicationInstanceStatus)
The status of the replication instance. The possible return values include:
"available"
"creating"
"deleted"
"deleting"
"failed"
"modifying"
"upgrading"
"rebooting"
"resetting-master-credentials"
"storage-full"
"incompatible-credentials"
"incompatible-network"
"maintenance"
replicationInstanceStatus - The status of the replication instance. The possible return values include:
"available"
"creating"
"deleted"
"deleting"
"failed"
"modifying"
"upgrading"
"rebooting"
"resetting-master-credentials"
"storage-full"
"incompatible-credentials"
"incompatible-network"
"maintenance"
ReplicationInstance.Builder allocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.
allocatedStorage - The amount of storage (in gigabytes) that is allocated for the replication instance.ReplicationInstance.Builder instanceCreateTime(Instant instanceCreateTime)
The time the replication instance was created.
instanceCreateTime - The time the replication instance was created.ReplicationInstance.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
The VPC security group for the instance.
vpcSecurityGroups - The VPC security group for the instance.ReplicationInstance.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
The VPC security group for the instance.
vpcSecurityGroups - The VPC security group for the instance.ReplicationInstance.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)
The VPC security group for the instance.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builder avoiding
the need to create one manually via
VpcSecurityGroupMembership.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #vpcSecurityGroups(List.
vpcSecurityGroups - a consumer that will call methods on
VpcSecurityGroupMembership.Builder#vpcSecurityGroups(java.util.Collection) ReplicationInstance.Builder availabilityZone(String availabilityZone)
The Availability Zone for the instance.
availabilityZone - The Availability Zone for the instance.ReplicationInstance.Builder replicationSubnetGroup(ReplicationSubnetGroup replicationSubnetGroup)
The subnet group for the replication instance.
replicationSubnetGroup - The subnet group for the replication instance.default ReplicationInstance.Builder replicationSubnetGroup(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup)
The subnet group for the replication instance.
This is a convenience method that creates an instance of theReplicationSubnetGroup.Builder avoiding
the need to create one manually via ReplicationSubnetGroup.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to replicationSubnetGroup(ReplicationSubnetGroup).
replicationSubnetGroup - a consumer that will call methods on ReplicationSubnetGroup.BuilderreplicationSubnetGroup(ReplicationSubnetGroup)ReplicationInstance.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
preferredMaintenanceWindow - The maintenance window times for the replication instance. Any pending upgrades to the replication
instance are performed during this time.ReplicationInstance.Builder pendingModifiedValues(ReplicationPendingModifiedValues pendingModifiedValues)
The pending modification values.
pendingModifiedValues - The pending modification values.default ReplicationInstance.Builder pendingModifiedValues(Consumer<ReplicationPendingModifiedValues.Builder> pendingModifiedValues)
The pending modification values.
This is a convenience method that creates an instance of theReplicationPendingModifiedValues.Builder
avoiding the need to create one manually via ReplicationPendingModifiedValues.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to pendingModifiedValues(ReplicationPendingModifiedValues).
pendingModifiedValues - a consumer that will call methods on ReplicationPendingModifiedValues.BuilderpendingModifiedValues(ReplicationPendingModifiedValues)ReplicationInstance.Builder multiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone parameter if the Multi-AZ parameter is set to true.
multiAZ - Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone parameter if the Multi-AZ parameter is set to true.ReplicationInstance.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.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to
true.
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.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to true.
ReplicationInstance.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
autoMinorVersionUpgrade - Boolean value indicating if minor version upgrades will be automatically applied to the instance.ReplicationInstance.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 KmsKeyId parameter, then 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.
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, then 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.
ReplicationInstance.Builder replicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.@Deprecated ReplicationInstance.Builder replicationInstancePublicIpAddress(String replicationInstancePublicIpAddress)
The public IP address of the replication instance.
replicationInstancePublicIpAddress - The public IP address of the replication instance.@Deprecated ReplicationInstance.Builder replicationInstancePrivateIpAddress(String replicationInstancePrivateIpAddress)
The private IP address of the replication instance.
replicationInstancePrivateIpAddress - The private IP address of the replication instance.ReplicationInstance.Builder replicationInstancePublicIpAddresses(Collection<String> replicationInstancePublicIpAddresses)
One or more public IP addresses for the replication instance.
replicationInstancePublicIpAddresses - One or more public IP addresses for the replication instance.ReplicationInstance.Builder replicationInstancePublicIpAddresses(String... replicationInstancePublicIpAddresses)
One or more public IP addresses for the replication instance.
replicationInstancePublicIpAddresses - One or more public IP addresses for the replication instance.ReplicationInstance.Builder replicationInstancePrivateIpAddresses(Collection<String> replicationInstancePrivateIpAddresses)
One or more private IP addresses for the replication instance.
replicationInstancePrivateIpAddresses - One or more private IP addresses for the replication instance.ReplicationInstance.Builder replicationInstancePrivateIpAddresses(String... replicationInstancePrivateIpAddresses)
One or more private IP addresses for the replication instance.
replicationInstancePrivateIpAddresses - One or more private IP addresses for the replication instance.ReplicationInstance.Builder replicationInstanceIpv6Addresses(Collection<String> replicationInstanceIpv6Addresses)
One or more IPv6 addresses for the replication instance.
replicationInstanceIpv6Addresses - One or more IPv6 addresses for the replication instance.ReplicationInstance.Builder replicationInstanceIpv6Addresses(String... replicationInstanceIpv6Addresses)
One or more IPv6 addresses for the replication instance.
replicationInstanceIpv6Addresses - One or more IPv6 addresses for the replication instance.ReplicationInstance.Builder publiclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for the replication instance. A value of true represents an
instance with a public IP address. A value of false represents an instance with a private IP
address. The default value is true.
publiclyAccessible - Specifies the accessibility options for the replication instance. A value of true
represents an instance with a public IP address. A value of false represents an instance
with a private IP address. The default value is true.ReplicationInstance.Builder secondaryAvailabilityZone(String secondaryAvailabilityZone)
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
secondaryAvailabilityZone - The Availability Zone of the standby replication instance in a Multi-AZ deployment.ReplicationInstance.Builder freeUntil(Instant freeUntil)
The expiration date of the free replication instance that is part of the Free DMS program.
freeUntil - The expiration date of the free replication instance that is part of the Free DMS program.ReplicationInstance.Builder dnsNameServers(String dnsNameServers)
The DNS name servers supported for the replication instance to access your on-premise source or target database.
dnsNameServers - The DNS name servers supported for the replication instance to access your on-premise source or target
database.ReplicationInstance.Builder networkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
networkType - The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that
supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.Copyright © 2023. All rights reserved.