Struct aws_sdk_rds::model::global_cluster_member::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for GlobalClusterMember.
Implementations
sourceimpl Builder
impl Builder
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 each Aurora 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 each Aurora cluster.
sourcepub fn readers(self, input: impl Into<String>) -> Self
pub fn readers(self, input: impl Into<String>) -> Self
Appends an item to readers.
To override the contents of this collection use set_readers.
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
sourcepub fn set_readers(self, input: Option<Vec<String>>) -> Self
pub fn set_readers(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
sourcepub fn is_writer(self, input: bool) -> Self
pub fn is_writer(self, input: bool) -> Self
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
sourcepub fn set_is_writer(self, input: Option<bool>) -> Self
pub fn set_is_writer(self, input: Option<bool>) -> Self
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
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 build(self) -> GlobalClusterMember
pub fn build(self) -> GlobalClusterMember
Consumes the builder and constructs a GlobalClusterMember.