#[non_exhaustive]
pub struct AwsDmsReplicationInstanceDetailsBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl AwsDmsReplicationInstanceDetailsBuilder

source

pub fn allocated_storage(self, input: i32) -> Self

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

source

pub fn set_allocated_storage(self, input: Option<i32>) -> Self

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

source

pub fn get_allocated_storage(&self) -> &Option<i32>

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

source

pub fn auto_minor_version_upgrade(self, input: bool) -> Self

Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.

source

pub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self

Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.

source

pub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>

Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window.

source

pub fn availability_zone(self, input: impl Into<String>) -> Self

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.

source

pub fn set_availability_zone(self, input: Option<String>) -> Self

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.

source

pub fn get_availability_zone(&self) -> &Option<String>

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.

source

pub fn engine_version(self, input: impl Into<String>) -> Self

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.

source

pub fn set_engine_version(self, input: Option<String>) -> Self

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.

source

pub fn get_engine_version(&self) -> &Option<String>

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.

source

pub fn kms_key_id(self, input: impl Into<String>) -> Self

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.

source

pub fn set_kms_key_id(self, input: Option<String>) -> Self

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.

source

pub fn get_kms_key_id(&self) -> &Option<String>

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.

source

pub fn multi_az(self, input: bool) -> Self

Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

source

pub fn set_multi_az(self, input: Option<bool>) -> Self

Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

source

pub fn get_multi_az(&self) -> &Option<bool>

Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

source

pub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self

The maintenance window times for the replication instance. Upgrades to the replication instance are performed during this time.

source

pub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self

The maintenance window times for the replication instance. Upgrades to the replication instance are performed during this time.

source

pub fn get_preferred_maintenance_window(&self) -> &Option<String>

The maintenance window times for the replication instance. Upgrades to the replication instance are performed during this time.

source

pub fn publicly_accessible(self, input: bool) -> Self

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.

source

pub fn set_publicly_accessible(self, input: Option<bool>) -> Self

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.

source

pub fn get_publicly_accessible(&self) -> &Option<bool>

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.

source

pub fn replication_instance_class(self, input: impl Into<String>) -> Self

The compute and memory capacity of the replication instance as defined for the specified replication instance class.

source

pub fn set_replication_instance_class(self, input: Option<String>) -> Self

The compute and memory capacity of the replication instance as defined for the specified replication instance class.

source

pub fn get_replication_instance_class(&self) -> &Option<String>

The compute and memory capacity of the replication instance as defined for the specified replication instance class.

source

pub fn replication_instance_identifier(self, input: impl Into<String>) -> Self

The replication instance identifier.

source

pub fn set_replication_instance_identifier(self, input: Option<String>) -> Self

The replication instance identifier.

source

pub fn get_replication_instance_identifier(&self) -> &Option<String>

The replication instance identifier.

source

pub fn replication_subnet_group( self, input: AwsDmsReplicationInstanceReplicationSubnetGroupDetails ) -> Self

The subnet group for the replication instance.

source

pub fn set_replication_subnet_group( self, input: Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails> ) -> Self

The subnet group for the replication instance.

source

pub fn get_replication_subnet_group( &self ) -> &Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails>

The subnet group for the replication instance.

source

pub fn vpc_security_groups( self, input: AwsDmsReplicationInstanceVpcSecurityGroupsDetails ) -> Self

Appends an item to vpc_security_groups.

To override the contents of this collection use set_vpc_security_groups.

The virtual private cloud (VPC) security group for the replication instance.

source

pub fn set_vpc_security_groups( self, input: Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>> ) -> Self

The virtual private cloud (VPC) security group for the replication instance.

source

pub fn get_vpc_security_groups( &self ) -> &Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>>

The virtual private cloud (VPC) security group for the replication instance.

source

pub fn build(self) -> AwsDmsReplicationInstanceDetails

Consumes the builder and constructs a AwsDmsReplicationInstanceDetails.

Trait Implementations§

source§

impl Clone for AwsDmsReplicationInstanceDetailsBuilder

source§

fn clone(&self) -> AwsDmsReplicationInstanceDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsDmsReplicationInstanceDetailsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AwsDmsReplicationInstanceDetailsBuilder

source§

fn default() -> AwsDmsReplicationInstanceDetailsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AwsDmsReplicationInstanceDetailsBuilder

source§

fn eq(&self, other: &AwsDmsReplicationInstanceDetailsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsDmsReplicationInstanceDetailsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more