#[non_exhaustive]pub struct DataShareAssociationBuilder { /* private fields */ }
Expand description
A builder for DataShareAssociation
.
Implementations§
sourcepub fn consumer_identifier(self, input: impl Into<String>) -> Self
pub fn consumer_identifier(self, input: impl Into<String>) -> Self
The name of the consumer accounts that have an association with a producer datashare.
sourcepub fn set_consumer_identifier(self, input: Option<String>) -> Self
pub fn set_consumer_identifier(self, input: Option<String>) -> Self
The name of the consumer accounts that have an association with a producer datashare.
sourcepub fn get_consumer_identifier(&self) -> &Option<String>
pub fn get_consumer_identifier(&self) -> &Option<String>
The name of the consumer accounts that have an association with a producer datashare.
sourcepub fn status(self, input: DataShareStatus) -> Self
pub fn status(self, input: DataShareStatus) -> Self
The status of the datashare that is associated.
sourcepub fn set_status(self, input: Option<DataShareStatus>) -> Self
pub fn set_status(self, input: Option<DataShareStatus>) -> Self
The status of the datashare that is associated.
sourcepub fn get_status(&self) -> &Option<DataShareStatus>
pub fn get_status(&self) -> &Option<DataShareStatus>
The status of the datashare that is associated.
sourcepub fn consumer_region(self, input: impl Into<String>) -> Self
pub fn consumer_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
sourcepub fn set_consumer_region(self, input: Option<String>) -> Self
pub fn set_consumer_region(self, input: Option<String>) -> Self
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
sourcepub fn get_consumer_region(&self) -> &Option<String>
pub fn get_consumer_region(&self) -> &Option<String>
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The creation date of the datashare that is associated.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The creation date of the datashare that is associated.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The creation date of the datashare that is associated.
sourcepub fn status_change_date(self, input: DateTime) -> Self
pub fn status_change_date(self, input: DateTime) -> Self
The status change data of the datashare that is associated.
sourcepub fn set_status_change_date(self, input: Option<DateTime>) -> Self
pub fn set_status_change_date(self, input: Option<DateTime>) -> Self
The status change data of the datashare that is associated.
sourcepub fn get_status_change_date(&self) -> &Option<DateTime>
pub fn get_status_change_date(&self) -> &Option<DateTime>
The status change data of the datashare that is associated.
sourcepub fn producer_allowed_writes(self, input: bool) -> Self
pub fn producer_allowed_writes(self, input: bool) -> Self
Specifies whether write operations were allowed during data share authorization.
sourcepub fn set_producer_allowed_writes(self, input: Option<bool>) -> Self
pub fn set_producer_allowed_writes(self, input: Option<bool>) -> Self
Specifies whether write operations were allowed during data share authorization.
sourcepub fn get_producer_allowed_writes(&self) -> &Option<bool>
pub fn get_producer_allowed_writes(&self) -> &Option<bool>
Specifies whether write operations were allowed during data share authorization.
sourcepub fn consumer_accepted_writes(self, input: bool) -> Self
pub fn consumer_accepted_writes(self, input: bool) -> Self
Specifies whether write operations were allowed during data share association.
sourcepub fn set_consumer_accepted_writes(self, input: Option<bool>) -> Self
pub fn set_consumer_accepted_writes(self, input: Option<bool>) -> Self
Specifies whether write operations were allowed during data share association.
sourcepub fn get_consumer_accepted_writes(&self) -> &Option<bool>
pub fn get_consumer_accepted_writes(&self) -> &Option<bool>
Specifies whether write operations were allowed during data share association.
sourcepub fn build(self) -> DataShareAssociation
pub fn build(self) -> DataShareAssociation
Consumes the builder and constructs a DataShareAssociation
.
Trait Implementations§
source§fn clone(&self) -> DataShareAssociationBuilder
fn clone(&self) -> DataShareAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> DataShareAssociationBuilder
fn default() -> DataShareAssociationBuilder
source§fn eq(&self, other: &DataShareAssociationBuilder) -> bool
fn eq(&self, other: &DataShareAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.