pub struct Builder { /* private fields */ }
Expand description

A builder for ReplicationInstance.

Implementations§

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

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

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.

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.

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"

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"

The amount of storage (in gigabytes) that is allocated for the replication instance.

The amount of storage (in gigabytes) that is allocated for the replication instance.

The time the replication instance was created.

The time the replication instance was created.

Appends an item to vpc_security_groups.

To override the contents of this collection use set_vpc_security_groups.

The VPC security group for the instance.

The VPC security group for the instance.

The Availability Zone for the instance.

The Availability Zone for the instance.

The subnet group for the replication instance.

The subnet group for the replication instance.

The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.

The pending modification values.

The pending modification values.

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.

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.

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.

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.

Boolean value indicating if minor version upgrades will be automatically applied to the instance.

Boolean value indicating if minor version upgrades will be automatically applied to the instance.

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.

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.

The Amazon Resource Name (ARN) of the replication instance.

The Amazon Resource Name (ARN) of the replication instance.

👎Deprecated

The public IP address of the replication instance.

👎Deprecated

The public IP address of the replication instance.

👎Deprecated

The private IP address of the replication instance.

👎Deprecated

The private IP address of the replication instance.

Appends an item to replication_instance_public_ip_addresses.

To override the contents of this collection use set_replication_instance_public_ip_addresses.

One or more public IP addresses for the replication instance.

One or more public IP addresses for the replication instance.

Appends an item to replication_instance_private_ip_addresses.

To override the contents of this collection use set_replication_instance_private_ip_addresses.

One or more private IP addresses for the replication instance.

One or more private IP addresses for the replication instance.

Appends an item to replication_instance_ipv6_addresses.

To override the contents of this collection use set_replication_instance_ipv6_addresses.

One or more IPv6 addresses for the replication instance.

One or more IPv6 addresses for the replication instance.

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.

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.

The Availability Zone of the standby replication instance in a Multi-AZ deployment.

The Availability Zone of the standby replication instance in a Multi-AZ deployment.

The expiration date of the free replication instance that is part of the Free DMS program.

The expiration date of the free replication instance that is part of the Free DMS program.

The DNS name servers supported for the replication instance to access your on-premise source or target database.

The DNS name servers supported for the replication instance to access your on-premise source or target database.

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.

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.

Consumes the builder and constructs a ReplicationInstance.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more