Struct aws_sdk_redshift::operation::associate_data_share_consumer::builders::AssociateDataShareConsumerInputBuilder
source · #[non_exhaustive]pub struct AssociateDataShareConsumerInputBuilder { /* private fields */ }
Expand description
A builder for AssociateDataShareConsumerInput
.
Implementations§
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
This field is required.The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
sourcepub fn associate_entire_account(self, input: bool) -> Self
pub fn associate_entire_account(self, input: bool) -> Self
A value that specifies whether the datashare is associated with the entire account.
sourcepub fn set_associate_entire_account(self, input: Option<bool>) -> Self
pub fn set_associate_entire_account(self, input: Option<bool>) -> Self
A value that specifies whether the datashare is associated with the entire account.
sourcepub fn get_associate_entire_account(&self) -> &Option<bool>
pub fn get_associate_entire_account(&self) -> &Option<bool>
A value that specifies whether the datashare is associated with the entire account.
sourcepub fn consumer_arn(self, input: impl Into<String>) -> Self
pub fn consumer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
sourcepub fn set_consumer_arn(self, input: Option<String>) -> Self
pub fn set_consumer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
sourcepub fn get_consumer_arn(&self) -> &Option<String>
pub fn get_consumer_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
sourcepub fn consumer_region(self, input: impl Into<String>) -> Self
pub fn consumer_region(self, input: impl Into<String>) -> Self
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
sourcepub fn set_consumer_region(self, input: Option<String>) -> Self
pub fn set_consumer_region(self, input: Option<String>) -> Self
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
sourcepub fn get_consumer_region(&self) -> &Option<String>
pub fn get_consumer_region(&self) -> &Option<String>
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
sourcepub fn allow_writes(self, input: bool) -> Self
pub fn allow_writes(self, input: bool) -> Self
If set to true, allows write operations for a datashare.
sourcepub fn set_allow_writes(self, input: Option<bool>) -> Self
pub fn set_allow_writes(self, input: Option<bool>) -> Self
If set to true, allows write operations for a datashare.
sourcepub fn get_allow_writes(&self) -> &Option<bool>
pub fn get_allow_writes(&self) -> &Option<bool>
If set to true, allows write operations for a datashare.
sourcepub fn build(self) -> Result<AssociateDataShareConsumerInput, BuildError>
pub fn build(self) -> Result<AssociateDataShareConsumerInput, BuildError>
Consumes the builder and constructs a AssociateDataShareConsumerInput
.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateDataShareConsumerOutput, SdkError<AssociateDataShareConsumerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateDataShareConsumerOutput, SdkError<AssociateDataShareConsumerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> AssociateDataShareConsumerInputBuilder
fn clone(&self) -> AssociateDataShareConsumerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> AssociateDataShareConsumerInputBuilder
fn default() -> AssociateDataShareConsumerInputBuilder
source§fn eq(&self, other: &AssociateDataShareConsumerInputBuilder) -> bool
fn eq(&self, other: &AssociateDataShareConsumerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.