Struct aws_sdk_rds::model::db_cluster::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DbCluster.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
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 Amazon Aurora, AllocatedStorage specifies the allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
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.
Provides the 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
Provides the 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
Specifies the number of days for which automatic DB snapshots are retained.
sourcepub fn set_backup_retention_period(self, input: Option<i32>) -> Self
pub fn set_backup_retention_period(self, input: Option<i32>) -> Self
Specifies the number of days for which automatic DB snapshots are retained.
sourcepub fn character_set_name(self, input: impl Into<String>) -> Self
pub fn character_set_name(self, input: impl Into<String>) -> Self
If present, specifies the name of the character set that this cluster is associated with.
sourcepub fn set_character_set_name(self, input: Option<String>) -> Self
pub fn set_character_set_name(self, input: Option<String>) -> Self
If present, specifies the name of the character set that this cluster is associated with.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
sourcepub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
Contains a user-supplied DB cluster identifier. 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
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a 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
Specifies 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
Specifies 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
Specifies information on the subnet group 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
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Specifies the current state of this DB cluster.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Specifies the current state of this DB cluster.
sourcepub fn automatic_restart_time(self, input: DateTime) -> Self
pub fn automatic_restart_time(self, input: DateTime) -> Self
The time when a stopped DB cluster is restarted automatically.
sourcepub fn set_automatic_restart_time(self, input: Option<DateTime>) -> Self
pub fn set_automatic_restart_time(self, input: Option<DateTime>) -> Self
The time when a stopped DB cluster is restarted automatically.
sourcepub fn percent_progress(self, input: impl Into<String>) -> Self
pub fn percent_progress(self, input: impl Into<String>) -> Self
Specifies the progress of the operation as a percentage.
sourcepub fn set_percent_progress(self, input: Option<String>) -> Self
pub fn set_percent_progress(self, input: Option<String>) -> Self
Specifies the progress of the operation as a percentage.
sourcepub fn earliest_restorable_time(self, input: DateTime) -> Self
pub fn earliest_restorable_time(self, input: DateTime) -> Self
The earliest time to which a database can be restored with point-in-time restore.
sourcepub fn set_earliest_restorable_time(self, input: Option<DateTime>) -> Self
pub fn set_earliest_restorable_time(self, input: Option<DateTime>) -> Self
The earliest time to which a database can be restored with point-in-time restore.
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
Specifies 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
Specifies 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. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.
If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.
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. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.
If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.
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.
Identifies all custom endpoints associated with the cluster.
sourcepub fn set_custom_endpoints(self, input: Option<Vec<String>>) -> Self
pub fn set_custom_endpoints(self, input: Option<Vec<String>>) -> Self
Identifies all custom endpoints associated with the cluster.
sourcepub fn multi_az(self, input: bool) -> Self
pub fn multi_az(self, input: bool) -> Self
Specifies 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
Specifies 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 be used for this DB cluster.
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 be used for this DB cluster.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
Indicates the database engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
Indicates the database engine version.
sourcepub fn latest_restorable_time(self, input: DateTime) -> Self
pub fn latest_restorable_time(self, input: DateTime) -> Self
Specifies the latest time to which a database can be restored with point-in-time restore.
sourcepub fn set_latest_restorable_time(self, input: Option<DateTime>) -> Self
pub fn set_latest_restorable_time(self, input: Option<DateTime>) -> Self
Specifies the latest time to which a database can be restored with point-in-time restore.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
Specifies the port that the database engine is listening on.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
Specifies the port that the database engine is listening on.
sourcepub fn master_username(self, input: impl Into<String>) -> Self
pub fn master_username(self, input: impl Into<String>) -> Self
Contains the master username for the DB cluster.
sourcepub fn set_master_username(self, input: Option<String>) -> Self
pub fn set_master_username(self, input: Option<String>) -> Self
Contains the master username for the DB cluster.
sourcepub fn db_cluster_option_group_memberships(
self,
input: DbClusterOptionGroupStatus
) -> Self
pub fn db_cluster_option_group_memberships(
self,
input: DbClusterOptionGroupStatus
) -> Self
Appends an item to db_cluster_option_group_memberships.
To override the contents of this collection use set_db_cluster_option_group_memberships.
Provides the list of option group memberships for this DB cluster.
sourcepub fn set_db_cluster_option_group_memberships(
self,
input: Option<Vec<DbClusterOptionGroupStatus>>
) -> Self
pub fn set_db_cluster_option_group_memberships(
self,
input: Option<Vec<DbClusterOptionGroupStatus>>
) -> Self
Provides the list of option group memberships for this DB cluster.
sourcepub fn preferred_backup_window(self, input: impl Into<String>) -> Self
pub fn preferred_backup_window(self, input: impl Into<String>) -> Self
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
sourcepub fn set_preferred_backup_window(self, input: Option<String>) -> Self
pub fn set_preferred_backup_window(self, input: Option<String>) -> Self
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
sourcepub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
pub fn preferred_maintenance_window(self, input: impl Into<String>) -> Self
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
sourcepub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
pub fn set_preferred_maintenance_window(self, input: Option<String>) -> Self
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
sourcepub fn replication_source_identifier(self, input: impl Into<String>) -> Self
pub fn replication_source_identifier(self, input: impl Into<String>) -> Self
Contains the identifier of the source DB cluster if this DB cluster is a read replica.
sourcepub fn set_replication_source_identifier(self, input: Option<String>) -> Self
pub fn set_replication_source_identifier(self, input: Option<String>) -> Self
Contains the identifier of the source DB cluster if this DB cluster is a read replica.
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.
Contains one or more identifiers of the read replicas 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
Contains one or more identifiers of the read replicas associated with this DB cluster.
sourcepub fn db_cluster_members(self, input: DbClusterMember) -> Self
pub fn db_cluster_members(self, input: DbClusterMember) -> Self
Appends an item to db_cluster_members.
To override the contents of this collection use set_db_cluster_members.
Provides the list of instances that make up the DB cluster.
sourcepub fn set_db_cluster_members(self, input: Option<Vec<DbClusterMember>>) -> Self
pub fn set_db_cluster_members(self, input: Option<Vec<DbClusterMember>>) -> Self
Provides the list of instances that make up the DB cluster.
sourcepub fn vpc_security_groups(self, input: VpcSecurityGroupMembership) -> Self
pub fn vpc_security_groups(self, input: VpcSecurityGroupMembership) -> Self
Appends an item to vpc_security_groups.
To override the contents of this collection use set_vpc_security_groups.
Provides a list of VPC security groups that the DB cluster belongs to.
sourcepub fn set_vpc_security_groups(
self,
input: Option<Vec<VpcSecurityGroupMembership>>
) -> Self
pub fn set_vpc_security_groups(
self,
input: Option<Vec<VpcSecurityGroupMembership>>
) -> Self
Provides 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 ID 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 ID 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
Specifies 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
Specifies 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
If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB cluster.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB cluster.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
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 Amazon Web Services Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
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 Amazon Web Services Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon Web Services CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
sourcepub fn db_cluster_arn(self, input: impl Into<String>) -> Self
pub fn db_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the DB cluster.
sourcepub fn set_db_cluster_arn(self, input: Option<String>) -> Self
pub fn set_db_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the DB cluster.
sourcepub fn associated_roles(self, input: DbClusterRole) -> Self
pub fn associated_roles(self, input: DbClusterRole) -> Self
Appends an item to associated_roles.
To override the contents of this collection use set_associated_roles.
Provides a list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf.
sourcepub fn set_associated_roles(self, input: Option<Vec<DbClusterRole>>) -> Self
pub fn set_associated_roles(self, input: Option<Vec<DbClusterRole>>) -> Self
Provides a list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf.
sourcepub fn iam_database_authentication_enabled(self, input: bool) -> Self
pub fn iam_database_authentication_enabled(self, input: bool) -> Self
A value that indicates whether the mapping of Amazon Web Services Identity and Access Management (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
A value that indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
sourcepub fn clone_group_id(self, input: impl Into<String>) -> Self
pub fn clone_group_id(self, input: impl Into<String>) -> Self
Identifies the clone group to which the DB cluster is associated.
sourcepub fn set_clone_group_id(self, input: Option<String>) -> Self
pub fn set_clone_group_id(self, input: Option<String>) -> Self
Identifies the clone group to which the DB cluster is associated.
sourcepub fn cluster_create_time(self, input: DateTime) -> Self
pub fn cluster_create_time(self, input: DateTime) -> Self
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
sourcepub fn set_cluster_create_time(self, input: Option<DateTime>) -> Self
pub fn set_cluster_create_time(self, input: Option<DateTime>) -> Self
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
sourcepub fn earliest_backtrack_time(self, input: DateTime) -> Self
pub fn earliest_backtrack_time(self, input: DateTime) -> Self
The earliest time to which a DB cluster can be backtracked.
sourcepub fn set_earliest_backtrack_time(self, input: Option<DateTime>) -> Self
pub fn set_earliest_backtrack_time(self, input: Option<DateTime>) -> Self
The earliest time to which a DB cluster can be backtracked.
sourcepub fn backtrack_window(self, input: i64) -> Self
pub fn backtrack_window(self, input: i64) -> Self
The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled.
sourcepub fn set_backtrack_window(self, input: Option<i64>) -> Self
pub fn set_backtrack_window(self, input: Option<i64>) -> Self
The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled.
sourcepub fn backtrack_consumed_change_records(self, input: i64) -> Self
pub fn backtrack_consumed_change_records(self, input: i64) -> Self
The number of change records stored for Backtrack.
sourcepub fn set_backtrack_consumed_change_records(self, input: Option<i64>) -> Self
pub fn set_backtrack_consumed_change_records(self, input: Option<i64>) -> Self
The number of change records stored for Backtrack.
sourcepub fn enabled_cloudwatch_logs_exports(self, input: impl Into<String>) -> Self
pub fn enabled_cloudwatch_logs_exports(self, input: impl Into<String>) -> Self
Appends an item to enabled_cloudwatch_logs_exports.
To override the contents of this collection use set_enabled_cloudwatch_logs_exports.
A list of log types that this DB cluster is configured to export to CloudWatch Logs.
Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files in the Amazon Aurora User Guide.
sourcepub fn set_enabled_cloudwatch_logs_exports(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_enabled_cloudwatch_logs_exports(
self,
input: Option<Vec<String>>
) -> Self
A list of log types that this DB cluster is configured to export to CloudWatch Logs.
Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files in the Amazon Aurora User Guide.
sourcepub fn capacity(self, input: i32) -> Self
pub fn capacity(self, input: i32) -> Self
The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the cluster is paused.
For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn set_capacity(self, input: Option<i32>) -> Self
pub fn set_capacity(self, input: Option<i32>) -> Self
The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the cluster is paused.
For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn engine_mode(self, input: impl Into<String>) -> Self
pub fn engine_mode(self, input: impl Into<String>) -> Self
The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
For more information, see CreateDBCluster.
sourcepub fn set_engine_mode(self, input: Option<String>) -> Self
pub fn set_engine_mode(self, input: Option<String>) -> Self
The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
For more information, see CreateDBCluster.
sourcepub fn scaling_configuration_info(self, input: ScalingConfigurationInfo) -> Self
pub fn scaling_configuration_info(self, input: ScalingConfigurationInfo) -> Self
Shows the scaling configuration for an Aurora DB cluster in serverless DB engine mode.
For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn set_scaling_configuration_info(
self,
input: Option<ScalingConfigurationInfo>
) -> Self
pub fn set_scaling_configuration_info(
self,
input: Option<ScalingConfigurationInfo>
) -> Self
Shows the scaling configuration for an Aurora DB cluster in serverless DB engine mode.
For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn deletion_protection(self, input: bool) -> Self
pub fn deletion_protection(self, input: bool) -> Self
Indicates if the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
sourcepub fn set_deletion_protection(self, input: Option<bool>) -> Self
pub fn set_deletion_protection(self, input: Option<bool>) -> Self
Indicates if the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
sourcepub fn http_endpoint_enabled(self, input: bool) -> Self
pub fn http_endpoint_enabled(self, input: bool) -> Self
A value that indicates whether the HTTP endpoint for an Aurora Serverless v1 DB cluster is enabled.
When enabled, the HTTP endpoint provides a connectionless web service API for running SQL queries on the Aurora Serverless v1 DB cluster. You can also query your database from inside the RDS console with the query editor.
For more information, see Using the Data API for Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn set_http_endpoint_enabled(self, input: Option<bool>) -> Self
pub fn set_http_endpoint_enabled(self, input: Option<bool>) -> Self
A value that indicates whether the HTTP endpoint for an Aurora Serverless v1 DB cluster is enabled.
When enabled, the HTTP endpoint provides a connectionless web service API for running SQL queries on the Aurora Serverless v1 DB cluster. You can also query your database from inside the RDS console with the query editor.
For more information, see Using the Data API for Aurora Serverless v1 in the Amazon Aurora User Guide.
sourcepub fn activity_stream_mode(self, input: ActivityStreamMode) -> Self
pub fn activity_stream_mode(self, input: ActivityStreamMode) -> Self
The mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn set_activity_stream_mode(self, input: Option<ActivityStreamMode>) -> Self
pub fn set_activity_stream_mode(self, input: Option<ActivityStreamMode>) -> Self
The mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn activity_stream_status(self, input: ActivityStreamStatus) -> Self
pub fn activity_stream_status(self, input: ActivityStreamStatus) -> Self
The status of the database activity stream.
sourcepub fn set_activity_stream_status(
self,
input: Option<ActivityStreamStatus>
) -> Self
pub fn set_activity_stream_status(
self,
input: Option<ActivityStreamStatus>
) -> Self
The status of the database activity stream.
sourcepub fn activity_stream_kms_key_id(self, input: impl Into<String>) -> Self
pub fn activity_stream_kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn set_activity_stream_kms_key_id(self, input: Option<String>) -> Self
pub fn set_activity_stream_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn activity_stream_kinesis_stream_name(
self,
input: impl Into<String>
) -> Self
pub fn activity_stream_kinesis_stream_name(
self,
input: impl Into<String>
) -> Self
The name of the Amazon Kinesis data stream used for the database activity stream.
sourcepub fn set_activity_stream_kinesis_stream_name(
self,
input: Option<String>
) -> Self
pub fn set_activity_stream_kinesis_stream_name(
self,
input: Option<String>
) -> Self
The name of the Amazon Kinesis data stream used for the database activity stream.
Specifies whether tags are copied from the DB cluster to snapshots of the DB cluster.
Specifies 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
Specifies 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
Specifies 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: DomainMembership) -> Self
pub fn domain_memberships(self, input: DomainMembership) -> Self
Appends an item to domain_memberships.
To override the contents of this collection use set_domain_memberships.
The Active Directory Domain membership records associated with the DB cluster.
sourcepub fn set_domain_memberships(self, input: Option<Vec<DomainMembership>>) -> Self
pub fn set_domain_memberships(self, input: Option<Vec<DomainMembership>>) -> Self
The Active Directory Domain membership records associated with the DB cluster.
sourcepub fn tag_list(self, input: Tag) -> Self
pub fn tag_list(self, input: Tag) -> Self
Appends an item to tag_list.
To override the contents of this collection use set_tag_list.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
sourcepub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self
pub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
sourcepub fn global_write_forwarding_status(self, input: WriteForwardingStatus) -> Self
pub fn global_write_forwarding_status(self, input: WriteForwardingStatus) -> Self
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
sourcepub fn set_global_write_forwarding_status(
self,
input: Option<WriteForwardingStatus>
) -> Self
pub fn set_global_write_forwarding_status(
self,
input: Option<WriteForwardingStatus>
) -> Self
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
sourcepub fn global_write_forwarding_requested(self, input: bool) -> Self
pub fn global_write_forwarding_requested(self, input: bool) -> Self
Specifies whether you have requested to enable write forwarding for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the request has completed before using the write forwarding feature for this cluster.
sourcepub fn set_global_write_forwarding_requested(self, input: Option<bool>) -> Self
pub fn set_global_write_forwarding_requested(self, input: Option<bool>) -> Self
Specifies whether you have requested to enable write forwarding for a secondary cluster in an Aurora global database. Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the request has completed before using the write forwarding feature for this cluster.
sourcepub fn pending_modified_values(self, input: ClusterPendingModifiedValues) -> Self
pub fn pending_modified_values(self, input: ClusterPendingModifiedValues) -> Self
A value that specifies that changes to the DB cluster are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
sourcepub fn set_pending_modified_values(
self,
input: Option<ClusterPendingModifiedValues>
) -> Self
pub fn set_pending_modified_values(
self,
input: Option<ClusterPendingModifiedValues>
) -> Self
A value that specifies that changes to the DB cluster are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
sourcepub fn db_cluster_instance_class(self, input: impl Into<String>) -> Self
pub fn db_cluster_instance_class(self, input: impl Into<String>) -> Self
The name of the compute and memory capacity class of the DB instance.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_db_cluster_instance_class(self, input: Option<String>) -> Self
pub fn set_db_cluster_instance_class(self, input: Option<String>) -> Self
The name of the compute and memory capacity class of the DB instance.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
The storage type associated with the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
The storage type associated with the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
The Provisioned IOPS (I/O operations per second) value.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
The Provisioned IOPS (I/O operations per second) value.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn publicly_accessible(self, input: bool) -> Self
pub fn publicly_accessible(self, input: bool) -> Self
Specifies the accessibility options for the DB instance.
When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.
When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
For more information, see CreateDBInstance.
This setting is only for non-Aurora Multi-AZ DB clusters.
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 DB instance.
When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.
When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
For more information, see CreateDBInstance.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn auto_minor_version_upgrade(self, input: bool) -> Self
pub fn auto_minor_version_upgrade(self, input: bool) -> Self
A value that indicates that minor version patches are applied automatically.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
pub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
A value that indicates that minor version patches are applied automatically.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn monitoring_interval(self, input: i32) -> Self
pub fn monitoring_interval(self, input: i32) -> Self
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_monitoring_interval(self, input: Option<i32>) -> Self
pub fn set_monitoring_interval(self, input: Option<i32>) -> Self
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn monitoring_role_arn(self, input: impl Into<String>) -> Self
pub fn monitoring_role_arn(self, input: impl Into<String>) -> Self
The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_monitoring_role_arn(self, input: Option<String>) -> Self
pub fn set_monitoring_role_arn(self, input: Option<String>) -> Self
The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn performance_insights_enabled(self, input: bool) -> Self
pub fn performance_insights_enabled(self, input: bool) -> Self
True if Performance Insights is enabled for the DB cluster, and otherwise false.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_performance_insights_enabled(self, input: Option<bool>) -> Self
pub fn set_performance_insights_enabled(self, input: Option<bool>) -> Self
True if Performance Insights is enabled for the DB cluster, and otherwise false.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn performance_insights_kms_key_id(self, input: impl Into<String>) -> Self
pub fn performance_insights_kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_performance_insights_kms_key_id(self, input: Option<String>) -> Self
pub fn set_performance_insights_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn performance_insights_retention_period(self, input: i32) -> Self
pub fn performance_insights_retention_period(self, input: i32) -> Self
The number of days to retain Performance Insights data. The default is 7 days. The following values are valid:
-
7
-
month * 31, where month is a number of months from 1-23
-
731
For example, the following values are valid:
-
93 (3 months * 31)
-
341 (11 months * 31)
-
589 (19 months * 31)
-
731
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn set_performance_insights_retention_period(
self,
input: Option<i32>
) -> Self
pub fn set_performance_insights_retention_period(
self,
input: Option<i32>
) -> Self
The number of days to retain Performance Insights data. The default is 7 days. The following values are valid:
-
7
-
month * 31, where month is a number of months from 1-23
-
731
For example, the following values are valid:
-
93 (3 months * 31)
-
341 (11 months * 31)
-
589 (19 months * 31)
-
731
This setting is only for non-Aurora Multi-AZ DB clusters.
sourcepub fn serverless_v2_scaling_configuration(
self,
input: ServerlessV2ScalingConfigurationInfo
) -> Self
pub fn serverless_v2_scaling_configuration(
self,
input: ServerlessV2ScalingConfigurationInfo
) -> Self
Shows the scaling configuration for an Aurora Serverless v2 DB cluster.
For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide.
sourcepub fn set_serverless_v2_scaling_configuration(
self,
input: Option<ServerlessV2ScalingConfigurationInfo>
) -> Self
pub fn set_serverless_v2_scaling_configuration(
self,
input: Option<ServerlessV2ScalingConfigurationInfo>
) -> Self
Shows the scaling configuration for an Aurora Serverless v2 DB cluster.
For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide.
sourcepub fn network_type(self, input: impl Into<String>) -> Self
pub fn network_type(self, input: impl Into<String>) -> Self
The network type of the DB instance.
Valid values:
-
IPV4 -
DUAL
The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide.
This setting is only for Aurora DB clusters.
sourcepub fn set_network_type(self, input: Option<String>) -> Self
pub fn set_network_type(self, input: Option<String>) -> Self
The network type of the DB instance.
Valid values:
-
IPV4 -
DUAL
The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide.
This setting is only for Aurora DB clusters.