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

A builder for AwsRdsDbClusterDetails.

Implementations§

source§

impl AwsRdsDbClusterDetailsBuilder

source

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

For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).

source

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

For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).

source

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

For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).

source

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

Appends an item to availability_zones.

To override the contents of this collection use set_availability_zones.

A list of Availability Zones (AZs) where instances in the DB cluster can be created.

source

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

A list of Availability Zones (AZs) where instances in the DB cluster can be created.

source

pub fn get_availability_zones(&self) -> &Option<Vec<String>>

A list of Availability Zones (AZs) where instances in the DB cluster can be created.

source

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

The number of days for which automated backups are retained.

source

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

The number of days for which automated backups are retained.

source

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

The number of days for which automated backups are retained.

source

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

The name of the database.

source

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

The name of the database.

source

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

The name of the database.

source

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

The current status of this DB cluster.

source

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

The current status of this DB cluster.

source

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

The current status of this DB cluster.

source

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

The connection endpoint for the primary instance of the DB cluster.

source

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

The connection endpoint for the primary instance of the DB cluster.

source

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

The connection endpoint for the primary instance of the DB cluster.

source

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

The reader endpoint for the DB cluster.

source

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

The reader endpoint for the DB cluster.

source

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

The reader endpoint for the DB cluster.

source

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

Appends an item to custom_endpoints.

To override the contents of this collection use set_custom_endpoints.

A list of custom endpoints for the DB cluster.

source

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

A list of custom endpoints for the DB cluster.

source

pub fn get_custom_endpoints(&self) -> &Option<Vec<String>>

A list of custom endpoints for the DB cluster.

source

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

Whether the DB cluster has instances in multiple Availability Zones.

source

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

Whether the DB cluster has instances in multiple Availability Zones.

source

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

Whether the DB cluster has instances in multiple Availability Zones.

source

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

The name of the database engine to use for this DB cluster. Valid values are as follows:

  • aurora

  • aurora-mysql

  • aurora-postgresql

source

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

The name of the database engine to use for this DB cluster. Valid values are as follows:

  • aurora

  • aurora-mysql

  • aurora-postgresql

source

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

The name of the database engine to use for this DB cluster. Valid values are as follows:

  • aurora

  • aurora-mysql

  • aurora-postgresql

source

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

The version number of the database engine to use.

source

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

The version number of the database engine to use.

source

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

The version number of the database engine to use.

source

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

The port number on which the DB instances in the DB cluster accept connections.

source

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

The port number on which the DB instances in the DB cluster accept connections.

source

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

The port number on which the DB instances in the DB cluster accept connections.

source

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

The name of the master user for the DB cluster.

source

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

The name of the master user for the DB cluster.

source

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

The name of the master user for the DB cluster.

source

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

The range of time each day when automated backups are created, if automated backups are enabled.

Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

source

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

The range of time each day when automated backups are created, if automated backups are enabled.

Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

source

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

The range of time each day when automated backups are created, if automated backups are enabled.

Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

source

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

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Uses the format :HH:MM- :HH:MM .

For the day values, use mon|tue|wed|thu|fri|sat|sun.

For example, sun:09:32-sun:10:02.

source

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

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Uses the format :HH:MM- :HH:MM .

For the day values, use mon|tue|wed|thu|fri|sat|sun.

For example, sun:09:32-sun:10:02.

source

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

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Uses the format :HH:MM- :HH:MM .

For the day values, use mon|tue|wed|thu|fri|sat|sun.

For example, sun:09:32-sun:10:02.

source

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

Appends an item to read_replica_identifiers.

To override the contents of this collection use set_read_replica_identifiers.

The identifiers of the read replicas that are associated with this DB cluster.

source

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

The identifiers of the read replicas that are associated with this DB cluster.

source

pub fn get_read_replica_identifiers(&self) -> &Option<Vec<String>>

The identifiers of the read replicas that are associated with this DB cluster.

source

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

Appends an item to vpc_security_groups.

To override the contents of this collection use set_vpc_security_groups.

A list of VPC security groups that the DB cluster belongs to.

source

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

A list of VPC security groups that the DB cluster belongs to.

source

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

A list of VPC security groups that the DB cluster belongs to.

source

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

Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.

source

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

Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.

source

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

Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.

source

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

Whether the DB cluster is encrypted.

source

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

Whether the DB cluster is encrypted.

source

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

Whether the DB cluster is encrypted.

source

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

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

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

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

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

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

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

The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.

source

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

The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.

source

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

The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.

source

pub fn associated_roles(self, input: AwsRdsDbClusterAssociatedRole) -> Self

Appends an item to associated_roles.

To override the contents of this collection use set_associated_roles.

A list of the IAM roles that are associated with the DB cluster.

source

pub fn set_associated_roles( self, input: Option<Vec<AwsRdsDbClusterAssociatedRole>> ) -> Self

A list of the IAM roles that are associated with the DB cluster.

source

pub fn get_associated_roles( &self ) -> &Option<Vec<AwsRdsDbClusterAssociatedRole>>

A list of the IAM roles that are associated with the DB cluster.

source

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

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

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

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

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

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

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

Appends an item to enabled_cloud_watch_logs_exports.

To override the contents of this collection use set_enabled_cloud_watch_logs_exports.

A list of log types that this DB cluster is configured to export to CloudWatch Logs.

source

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

A list of log types that this DB cluster is configured to export to CloudWatch Logs.

source

pub fn get_enabled_cloud_watch_logs_exports(&self) -> &Option<Vec<String>>

A list of log types that this DB cluster is configured to export to CloudWatch Logs.

source

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

The database engine mode of the DB cluster.Valid values are as follows:

  • global

  • multimaster

  • parallelquery

  • provisioned

  • serverless

source

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

The database engine mode of the DB cluster.Valid values are as follows:

  • global

  • multimaster

  • parallelquery

  • provisioned

  • serverless

source

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

The database engine mode of the DB cluster.Valid values are as follows:

  • global

  • multimaster

  • parallelquery

  • provisioned

  • serverless

source

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

Whether the DB cluster has deletion protection enabled.

source

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

Whether the DB cluster has deletion protection enabled.

source

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

Whether the DB cluster has deletion protection enabled.

source

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

Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

source

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

Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

source

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

Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

source

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

The status of the database activity stream. Valid values are as follows:

  • started

  • starting

  • stopped

  • stopping

source

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

The status of the database activity stream. Valid values are as follows:

  • started

  • starting

  • stopped

  • stopping

source

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

The status of the database activity stream. Valid values are as follows:

  • started

  • starting

  • stopped

  • stopping

source

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

Whether tags are copied from the DB cluster to snapshots of the DB cluster.

source

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

Whether tags are copied from the DB cluster to snapshots of the DB cluster.

source

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

Whether tags are copied from the DB cluster to snapshots of the DB cluster.

source

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

Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.

source

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

Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.

source

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

Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.

source

pub fn domain_memberships(self, input: AwsRdsDbDomainMembership) -> Self

Appends an item to domain_memberships.

To override the contents of this collection use set_domain_memberships.

The Active Directory domain membership records that are associated with the DB cluster.

source

pub fn set_domain_memberships( self, input: Option<Vec<AwsRdsDbDomainMembership>> ) -> Self

The Active Directory domain membership records that are associated with the DB cluster.

source

pub fn get_domain_memberships(&self) -> &Option<Vec<AwsRdsDbDomainMembership>>

The Active Directory domain membership records that are associated with the DB cluster.

source

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

The name of the DB cluster parameter group for the DB cluster.

source

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

The name of the DB cluster parameter group for the DB cluster.

source

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

The name of the DB cluster parameter group for the DB cluster.

source

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

The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.

source

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

The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.

source

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

The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.

source

pub fn db_cluster_option_group_memberships( self, input: AwsRdsDbClusterOptionGroupMembership ) -> Self

Appends an item to db_cluster_option_group_memberships.

To override the contents of this collection use set_db_cluster_option_group_memberships.

The list of option group memberships for this DB cluster.

source

pub fn set_db_cluster_option_group_memberships( self, input: Option<Vec<AwsRdsDbClusterOptionGroupMembership>> ) -> Self

The list of option group memberships for this DB cluster.

source

pub fn get_db_cluster_option_group_memberships( &self ) -> &Option<Vec<AwsRdsDbClusterOptionGroupMembership>>

The list of option group memberships for this DB cluster.

source

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

The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.

source

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

The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.

source

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

The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.

source

pub fn db_cluster_members(self, input: AwsRdsDbClusterMember) -> Self

Appends an item to db_cluster_members.

To override the contents of this collection use set_db_cluster_members.

The list of instances that make up the DB cluster.

source

pub fn set_db_cluster_members( self, input: Option<Vec<AwsRdsDbClusterMember>> ) -> Self

The list of instances that make up the DB cluster.

source

pub fn get_db_cluster_members(&self) -> &Option<Vec<AwsRdsDbClusterMember>>

The list of instances that make up the DB cluster.

source

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

Whether the mapping of IAM accounts to database accounts is enabled.

source

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

Whether the mapping of IAM accounts to database accounts is enabled.

source

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

Whether the mapping of IAM accounts to database accounts is enabled.

source

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

Indicates if minor version upgrades are automatically applied to the cluster.

source

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

Indicates if minor version upgrades are automatically applied to the cluster.

source

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

Indicates if minor version upgrades are automatically applied to the cluster.

source

pub fn build(self) -> AwsRdsDbClusterDetails

Consumes the builder and constructs a AwsRdsDbClusterDetails.

Trait Implementations§

source§

impl Clone for AwsRdsDbClusterDetailsBuilder

source§

fn clone(&self) -> AwsRdsDbClusterDetailsBuilder

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 AwsRdsDbClusterDetailsBuilder

source§

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

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

impl Default for AwsRdsDbClusterDetailsBuilder

source§

fn default() -> AwsRdsDbClusterDetailsBuilder

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

impl PartialEq for AwsRdsDbClusterDetailsBuilder

source§

fn eq(&self, other: &AwsRdsDbClusterDetailsBuilder) -> 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 AwsRdsDbClusterDetailsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 Unshared
where 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 T
where 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 T
where 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 T
where 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