#[non_exhaustive]pub struct AwsDmsReplicationInstanceDetailsBuilder { /* private fields */ }Expand description
A builder for AwsDmsReplicationInstanceDetails.
Implementations§
source§impl AwsDmsReplicationInstanceDetailsBuilder
impl AwsDmsReplicationInstanceDetailsBuilder
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
The amount of storage (in gigabytes) that is allocated for the replication instance.
sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
The amount of storage (in gigabytes) that is allocated for the replication instance.
sourcepub fn get_allocated_storage(&self) -> &Option<i32>
pub fn get_allocated_storage(&self) -> &Option<i32>
The amount of storage (in gigabytes) that is allocated for the replication instance.
sourcepub fn auto_minor_version_upgrade(self, input: bool) -> Self
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.
sourcepub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
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.
sourcepub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>
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.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
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.
sourcepub fn get_availability_zone(&self) -> &Option<String>
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.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
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.
sourcepub fn get_engine_version(&self) -> &Option<String>
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.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
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.
sourcepub fn multi_az(self, input: bool) -> Self
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.
sourcepub fn set_multi_az(self, input: Option<bool>) -> Self
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.
sourcepub fn get_multi_az(&self) -> &Option<bool>
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.
sourcepub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
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.
sourcepub fn get_preferred_maintenance_window(&self) -> &Option<String>
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.
sourcepub fn publicly_accessible(self, input: bool) -> Self
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.
sourcepub fn set_publicly_accessible(self, input: Option<bool>) -> Self
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.
sourcepub fn get_publicly_accessible(&self) -> &Option<bool>
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.
sourcepub fn replication_instance_class(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_replication_instance_class(self, input: Option<String>) -> Self
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.
sourcepub fn get_replication_instance_class(&self) -> &Option<String>
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.
sourcepub fn replication_instance_identifier(self, input: impl Into<String>) -> Self
pub fn replication_instance_identifier(self, input: impl Into<String>) -> Self
The replication instance identifier.
sourcepub fn set_replication_instance_identifier(self, input: Option<String>) -> Self
pub fn set_replication_instance_identifier(self, input: Option<String>) -> Self
The replication instance identifier.
sourcepub fn get_replication_instance_identifier(&self) -> &Option<String>
pub fn get_replication_instance_identifier(&self) -> &Option<String>
The replication instance identifier.
sourcepub fn replication_subnet_group(
self,
input: AwsDmsReplicationInstanceReplicationSubnetGroupDetails,
) -> Self
pub fn replication_subnet_group( self, input: AwsDmsReplicationInstanceReplicationSubnetGroupDetails, ) -> Self
The subnet group for the replication instance.
sourcepub fn set_replication_subnet_group(
self,
input: Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails>,
) -> Self
pub fn set_replication_subnet_group( self, input: Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails>, ) -> Self
The subnet group for the replication instance.
sourcepub fn get_replication_subnet_group(
&self,
) -> &Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails>
pub fn get_replication_subnet_group( &self, ) -> &Option<AwsDmsReplicationInstanceReplicationSubnetGroupDetails>
The subnet group for the replication instance.
sourcepub fn vpc_security_groups(
self,
input: AwsDmsReplicationInstanceVpcSecurityGroupsDetails,
) -> Self
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.
sourcepub fn set_vpc_security_groups(
self,
input: Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>>,
) -> Self
pub fn set_vpc_security_groups( self, input: Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>>, ) -> Self
The virtual private cloud (VPC) security group for the replication instance.
sourcepub fn get_vpc_security_groups(
&self,
) -> &Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>>
pub fn get_vpc_security_groups( &self, ) -> &Option<Vec<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>>
The virtual private cloud (VPC) security group for the replication instance.
sourcepub fn build(self) -> AwsDmsReplicationInstanceDetails
pub fn build(self) -> AwsDmsReplicationInstanceDetails
Consumes the builder and constructs a AwsDmsReplicationInstanceDetails.
Trait Implementations§
source§impl Clone for AwsDmsReplicationInstanceDetailsBuilder
impl Clone for AwsDmsReplicationInstanceDetailsBuilder
source§fn clone(&self) -> AwsDmsReplicationInstanceDetailsBuilder
fn clone(&self) -> AwsDmsReplicationInstanceDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsDmsReplicationInstanceDetailsBuilder
impl Default for AwsDmsReplicationInstanceDetailsBuilder
source§fn default() -> AwsDmsReplicationInstanceDetailsBuilder
fn default() -> AwsDmsReplicationInstanceDetailsBuilder
source§impl PartialEq for AwsDmsReplicationInstanceDetailsBuilder
impl PartialEq for AwsDmsReplicationInstanceDetailsBuilder
source§fn eq(&self, other: &AwsDmsReplicationInstanceDetailsBuilder) -> bool
fn eq(&self, other: &AwsDmsReplicationInstanceDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsDmsReplicationInstanceDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsDmsReplicationInstanceDetailsBuilder
impl RefUnwindSafe for AwsDmsReplicationInstanceDetailsBuilder
impl Send for AwsDmsReplicationInstanceDetailsBuilder
impl Sync for AwsDmsReplicationInstanceDetailsBuilder
impl Unpin for AwsDmsReplicationInstanceDetailsBuilder
impl UnwindSafe for AwsDmsReplicationInstanceDetailsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more