#[non_exhaustive]pub struct AwsRdsDbClusterDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsRdsDbClusterDetails
.
Implementations§
Source§impl AwsRdsDbClusterDetailsBuilder
impl AwsRdsDbClusterDetailsBuilder
Sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
Sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
Sourcepub fn get_allocated_storage(&self) -> &Option<i32>
pub fn get_allocated_storage(&self) -> &Option<i32>
For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
Sourcepub fn availability_zones(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
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.
Sourcepub fn get_availability_zones(&self) -> &Option<Vec<String>>
pub fn get_availability_zones(&self) -> &Option<Vec<String>>
A list of Availability Zones (AZs) where instances in the DB cluster can be created.
Sourcepub fn backup_retention_period(self, input: i32) -> Self
pub fn backup_retention_period(self, input: i32) -> Self
The number of days for which automated backups are retained.
Sourcepub fn set_backup_retention_period(self, input: Option<i32>) -> Self
pub fn set_backup_retention_period(self, input: Option<i32>) -> Self
The number of days for which automated backups are retained.
Sourcepub fn get_backup_retention_period(&self) -> &Option<i32>
pub fn get_backup_retention_period(&self) -> &Option<i32>
The number of days for which automated backups are retained.
Sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database.
Sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database.
Sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database.
Sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of this DB cluster.
Sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current status of this DB cluster.
Sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The connection endpoint for the primary instance of the DB cluster.
Sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The connection endpoint for the primary instance of the DB cluster.
Sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The connection endpoint for the primary instance of the DB cluster.
Sourcepub fn reader_endpoint(self, input: impl Into<String>) -> Self
pub fn reader_endpoint(self, input: impl Into<String>) -> Self
The reader endpoint for the DB cluster.
Sourcepub fn set_reader_endpoint(self, input: Option<String>) -> Self
pub fn set_reader_endpoint(self, input: Option<String>) -> Self
The reader endpoint for the DB cluster.
Sourcepub fn get_reader_endpoint(&self) -> &Option<String>
pub fn get_reader_endpoint(&self) -> &Option<String>
The reader endpoint for the DB cluster.
Sourcepub fn custom_endpoints(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_custom_endpoints(self, input: Option<Vec<String>>) -> Self
pub fn set_custom_endpoints(self, input: Option<Vec<String>>) -> Self
A list of custom endpoints for the DB cluster.
Sourcepub fn get_custom_endpoints(&self) -> &Option<Vec<String>>
pub fn get_custom_endpoints(&self) -> &Option<Vec<String>>
A list of custom endpoints for the DB cluster.
Sourcepub fn multi_az(self, input: bool) -> Self
pub fn multi_az(self, input: bool) -> Self
Whether the DB cluster has instances in multiple Availability Zones.
Sourcepub fn set_multi_az(self, input: Option<bool>) -> Self
pub fn set_multi_az(self, input: Option<bool>) -> Self
Whether the DB cluster has instances in multiple Availability Zones.
Sourcepub fn get_multi_az(&self) -> &Option<bool>
pub fn get_multi_az(&self) -> &Option<bool>
Whether the DB cluster has instances in multiple Availability Zones.
Sourcepub fn engine(self, input: impl Into<String>) -> Self
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
Sourcepub fn set_engine(self, input: Option<String>) -> Self
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
Sourcepub fn get_engine(&self) -> &Option<String>
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
Sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version number of the database engine to use.
Sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version number of the database engine to use.
Sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The version number of the database engine to use.
Sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port number on which the DB instances in the DB cluster accept connections.
Sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port number on which the DB instances in the DB cluster accept connections.
Sourcepub fn get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
The port number on which the DB instances in the DB cluster accept connections.
Sourcepub fn master_username(self, input: impl Into<String>) -> Self
pub fn master_username(self, input: impl Into<String>) -> Self
The name of the master user for the DB cluster.
Sourcepub fn set_master_username(self, input: Option<String>) -> Self
pub fn set_master_username(self, input: Option<String>) -> Self
The name of the master user for the DB cluster.
Sourcepub fn get_master_username(&self) -> &Option<String>
pub fn get_master_username(&self) -> &Option<String>
The name of the master user for the DB cluster.
Sourcepub fn preferred_backup_window(self, input: impl Into<String>) -> Self
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
.
Sourcepub fn set_preferred_backup_window(self, input: Option<String>) -> Self
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
.
Sourcepub fn get_preferred_backup_window(&self) -> &Option<String>
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
.
Sourcepub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
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
.
For the day values, use mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
Sourcepub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
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
.
For the day values, use mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
Sourcepub fn get_preferred_maintenance_window(&self) -> &Option<String>
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
.
For the day values, use mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
Sourcepub fn read_replica_identifiers(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_read_replica_identifiers(self, input: Option<Vec<String>>) -> Self
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.
Sourcepub fn get_read_replica_identifiers(&self) -> &Option<Vec<String>>
pub fn get_read_replica_identifiers(&self) -> &Option<Vec<String>>
The identifiers of the read replicas that are associated with this DB cluster.
Sourcepub fn vpc_security_groups(
self,
input: AwsRdsDbInstanceVpcSecurityGroup,
) -> Self
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.
Sourcepub fn set_vpc_security_groups(
self,
input: Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>,
) -> Self
pub fn set_vpc_security_groups( self, input: Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>, ) -> Self
A list of VPC security groups that the DB cluster belongs to.
Sourcepub fn get_vpc_security_groups(
&self,
) -> &Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>
pub fn get_vpc_security_groups( &self, ) -> &Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>
A list of VPC security groups that the DB cluster belongs to.
Sourcepub fn hosted_zone_id(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_hosted_zone_id(self, input: Option<String>) -> Self
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.
Sourcepub fn get_hosted_zone_id(&self) -> &Option<String>
pub fn get_hosted_zone_id(&self) -> &Option<String>
Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.
Sourcepub fn storage_encrypted(self, input: bool) -> Self
pub fn storage_encrypted(self, input: bool) -> Self
Whether the DB cluster is encrypted.
Sourcepub fn set_storage_encrypted(self, input: Option<bool>) -> Self
pub fn set_storage_encrypted(self, input: Option<bool>) -> Self
Whether the DB cluster is encrypted.
Sourcepub fn get_storage_encrypted(&self) -> &Option<bool>
pub fn get_storage_encrypted(&self) -> &Option<bool>
Whether the DB cluster is encrypted.
Sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
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.
Sourcepub fn get_kms_key_id(&self) -> &Option<String>
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.
Sourcepub fn db_cluster_resource_id(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_db_cluster_resource_id(self, input: Option<String>) -> Self
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.
Sourcepub fn get_db_cluster_resource_id(&self) -> &Option<String>
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.
Sourcepub fn associated_roles(self, input: AwsRdsDbClusterAssociatedRole) -> Self
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.
Sourcepub fn set_associated_roles(
self,
input: Option<Vec<AwsRdsDbClusterAssociatedRole>>,
) -> Self
pub fn set_associated_roles( self, input: Option<Vec<AwsRdsDbClusterAssociatedRole>>, ) -> Self
A list of the IAM roles that are associated with the DB cluster.
Sourcepub fn get_associated_roles(
&self,
) -> &Option<Vec<AwsRdsDbClusterAssociatedRole>>
pub fn get_associated_roles( &self, ) -> &Option<Vec<AwsRdsDbClusterAssociatedRole>>
A list of the IAM roles that are associated with the DB cluster.
Sourcepub fn cluster_create_time(self, input: impl Into<String>) -> Self
pub fn cluster_create_time(self, input: impl Into<String>) -> Self
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
Sourcepub fn set_cluster_create_time(self, input: Option<String>) -> Self
pub fn set_cluster_create_time(self, input: Option<String>) -> Self
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
Sourcepub fn get_cluster_create_time(&self) -> &Option<String>
pub fn get_cluster_create_time(&self) -> &Option<String>
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
Sourcepub fn enabled_cloud_watch_logs_exports(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_enabled_cloud_watch_logs_exports(
self,
input: Option<Vec<String>>,
) -> Self
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.
Sourcepub fn get_enabled_cloud_watch_logs_exports(&self) -> &Option<Vec<String>>
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.
Sourcepub fn engine_mode(self, input: impl Into<String>) -> Self
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
Sourcepub fn set_engine_mode(self, input: Option<String>) -> Self
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
Sourcepub fn get_engine_mode(&self) -> &Option<String>
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
Sourcepub fn deletion_protection(self, input: bool) -> Self
pub fn deletion_protection(self, input: bool) -> Self
Whether the DB cluster has deletion protection enabled.
Sourcepub fn set_deletion_protection(self, input: Option<bool>) -> Self
pub fn set_deletion_protection(self, input: Option<bool>) -> Self
Whether the DB cluster has deletion protection enabled.
Sourcepub fn get_deletion_protection(&self) -> &Option<bool>
pub fn get_deletion_protection(&self) -> &Option<bool>
Whether the DB cluster has deletion protection enabled.
Sourcepub fn http_endpoint_enabled(self, input: bool) -> Self
pub fn http_endpoint_enabled(self, input: bool) -> Self
Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
Sourcepub fn set_http_endpoint_enabled(self, input: Option<bool>) -> Self
pub fn set_http_endpoint_enabled(self, input: Option<bool>) -> Self
Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
Sourcepub fn get_http_endpoint_enabled(&self) -> &Option<bool>
pub fn get_http_endpoint_enabled(&self) -> &Option<bool>
Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
Sourcepub fn activity_stream_status(self, input: impl Into<String>) -> Self
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
Sourcepub fn set_activity_stream_status(self, input: Option<String>) -> Self
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
Sourcepub fn get_activity_stream_status(&self) -> &Option<String>
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
Whether tags are copied from the DB cluster to snapshots of the DB cluster.
Whether tags are copied from the DB cluster to snapshots of the DB cluster.
Whether tags are copied from the DB cluster to snapshots of the DB cluster.
Sourcepub fn cross_account_clone(self, input: bool) -> Self
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.
Sourcepub fn set_cross_account_clone(self, input: Option<bool>) -> Self
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.
Sourcepub fn get_cross_account_clone(&self) -> &Option<bool>
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.
Sourcepub fn domain_memberships(self, input: AwsRdsDbDomainMembership) -> Self
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.
Sourcepub fn set_domain_memberships(
self,
input: Option<Vec<AwsRdsDbDomainMembership>>,
) -> Self
pub fn set_domain_memberships( self, input: Option<Vec<AwsRdsDbDomainMembership>>, ) -> Self
The Active Directory domain membership records that are associated with the DB cluster.
Sourcepub fn get_domain_memberships(&self) -> &Option<Vec<AwsRdsDbDomainMembership>>
pub fn get_domain_memberships(&self) -> &Option<Vec<AwsRdsDbDomainMembership>>
The Active Directory domain membership records that are associated with the DB cluster.
Sourcepub fn db_cluster_parameter_group(self, input: impl Into<String>) -> Self
pub fn db_cluster_parameter_group(self, input: impl Into<String>) -> Self
The name of the DB cluster parameter group for the DB cluster.
Sourcepub fn set_db_cluster_parameter_group(self, input: Option<String>) -> Self
pub fn set_db_cluster_parameter_group(self, input: Option<String>) -> Self
The name of the DB cluster parameter group for the DB cluster.
Sourcepub fn get_db_cluster_parameter_group(&self) -> &Option<String>
pub fn get_db_cluster_parameter_group(&self) -> &Option<String>
The name of the DB cluster parameter group for the DB cluster.
Sourcepub fn db_subnet_group(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_db_subnet_group(self, input: Option<String>) -> Self
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.
Sourcepub fn get_db_subnet_group(&self) -> &Option<String>
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.
Sourcepub fn db_cluster_option_group_memberships(
self,
input: AwsRdsDbClusterOptionGroupMembership,
) -> Self
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.
Sourcepub fn set_db_cluster_option_group_memberships(
self,
input: Option<Vec<AwsRdsDbClusterOptionGroupMembership>>,
) -> Self
pub fn set_db_cluster_option_group_memberships( self, input: Option<Vec<AwsRdsDbClusterOptionGroupMembership>>, ) -> Self
The list of option group memberships for this DB cluster.
Sourcepub fn get_db_cluster_option_group_memberships(
&self,
) -> &Option<Vec<AwsRdsDbClusterOptionGroupMembership>>
pub fn get_db_cluster_option_group_memberships( &self, ) -> &Option<Vec<AwsRdsDbClusterOptionGroupMembership>>
The list of option group memberships for this DB cluster.
Sourcepub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
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.
Sourcepub fn get_db_cluster_identifier(&self) -> &Option<String>
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.
Sourcepub fn db_cluster_members(self, input: AwsRdsDbClusterMember) -> Self
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.
Sourcepub fn set_db_cluster_members(
self,
input: Option<Vec<AwsRdsDbClusterMember>>,
) -> Self
pub fn set_db_cluster_members( self, input: Option<Vec<AwsRdsDbClusterMember>>, ) -> Self
The list of instances that make up the DB cluster.
Sourcepub fn get_db_cluster_members(&self) -> &Option<Vec<AwsRdsDbClusterMember>>
pub fn get_db_cluster_members(&self) -> &Option<Vec<AwsRdsDbClusterMember>>
The list of instances that make up the DB cluster.
Sourcepub fn iam_database_authentication_enabled(self, input: bool) -> Self
pub fn iam_database_authentication_enabled(self, input: bool) -> Self
Whether the mapping of IAM accounts to database accounts is enabled.
Sourcepub fn set_iam_database_authentication_enabled(
self,
input: Option<bool>,
) -> Self
pub fn set_iam_database_authentication_enabled( self, input: Option<bool>, ) -> Self
Whether the mapping of IAM accounts to database accounts is enabled.
Sourcepub fn get_iam_database_authentication_enabled(&self) -> &Option<bool>
pub fn get_iam_database_authentication_enabled(&self) -> &Option<bool>
Whether the mapping of IAM accounts to database accounts is enabled.
Sourcepub fn auto_minor_version_upgrade(self, input: bool) -> Self
pub fn auto_minor_version_upgrade(self, input: bool) -> Self
Indicates if minor version upgrades are automatically applied to the cluster.
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 if minor version upgrades are automatically applied to the cluster.
Sourcepub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>
pub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>
Indicates if minor version upgrades are automatically applied to the cluster.
Sourcepub fn build(self) -> AwsRdsDbClusterDetails
pub fn build(self) -> AwsRdsDbClusterDetails
Consumes the builder and constructs a AwsRdsDbClusterDetails
.
Trait Implementations§
Source§impl Clone for AwsRdsDbClusterDetailsBuilder
impl Clone for AwsRdsDbClusterDetailsBuilder
Source§fn clone(&self) -> AwsRdsDbClusterDetailsBuilder
fn clone(&self) -> AwsRdsDbClusterDetailsBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for AwsRdsDbClusterDetailsBuilder
impl Default for AwsRdsDbClusterDetailsBuilder
Source§fn default() -> AwsRdsDbClusterDetailsBuilder
fn default() -> AwsRdsDbClusterDetailsBuilder
Source§impl PartialEq for AwsRdsDbClusterDetailsBuilder
impl PartialEq for AwsRdsDbClusterDetailsBuilder
Source§fn eq(&self, other: &AwsRdsDbClusterDetailsBuilder) -> bool
fn eq(&self, other: &AwsRdsDbClusterDetailsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsRdsDbClusterDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsRdsDbClusterDetailsBuilder
impl RefUnwindSafe for AwsRdsDbClusterDetailsBuilder
impl Send for AwsRdsDbClusterDetailsBuilder
impl Sync for AwsRdsDbClusterDetailsBuilder
impl Unpin for AwsRdsDbClusterDetailsBuilder
impl UnwindSafe for AwsRdsDbClusterDetailsBuilder
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§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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);