Struct aws_sdk_redshift::operation::associate_data_share_consumer::builders::AssociateDataShareConsumerFluentBuilder
source · pub struct AssociateDataShareConsumerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateDataShareConsumer
.
From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
Implementations§
sourcepub fn as_input(&self) -> &AssociateDataShareConsumerInputBuilder
pub fn as_input(&self) -> &AssociateDataShareConsumerInputBuilder
Access the AssociateDataShareConsumer as a reference.
sourcepub async fn send(
self
) -> Result<AssociateDataShareConsumerOutput, SdkError<AssociateDataShareConsumerError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateDataShareConsumerOutput, SdkError<AssociateDataShareConsumerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateDataShareConsumerOutput, AssociateDataShareConsumerError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateDataShareConsumerOutput, AssociateDataShareConsumerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
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 that is 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 that is 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 that is 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.
Trait Implementations§
source§fn clone(&self) -> AssociateDataShareConsumerFluentBuilder
fn clone(&self) -> AssociateDataShareConsumerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more