Struct aws_sdk_redshift::operation::associate_data_share_consumer::AssociateDataShareConsumerInput
source · #[non_exhaustive]pub struct AssociateDataShareConsumerInput {
pub data_share_arn: Option<String>,
pub associate_entire_account: Option<bool>,
pub consumer_arn: Option<String>,
pub consumer_region: Option<String>,
pub allow_writes: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
associate_entire_account: Option<bool>
A value that specifies whether the datashare is associated with the entire account.
consumer_arn: Option<String>
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
consumer_region: Option<String>
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
allow_writes: Option<bool>
If set to true, allows write operations for a datashare.
Implementations§
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) -> Option<bool>
pub fn associate_entire_account(&self) -> Option<bool>
A value that specifies whether the datashare is associated with the entire account.
sourcepub fn consumer_arn(&self) -> Option<&str>
pub fn consumer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
sourcepub fn consumer_region(&self) -> Option<&str>
pub fn consumer_region(&self) -> Option<&str>
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) -> Option<bool>
pub fn allow_writes(&self) -> Option<bool>
If set to true, allows write operations for a datashare.
sourcepub fn builder() -> AssociateDataShareConsumerInputBuilder
pub fn builder() -> AssociateDataShareConsumerInputBuilder
Creates a new builder-style object to manufacture AssociateDataShareConsumerInput
.
Trait Implementations§
source§fn clone(&self) -> AssociateDataShareConsumerInput
fn clone(&self) -> AssociateDataShareConsumerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn eq(&self, other: &AssociateDataShareConsumerInput) -> bool
fn eq(&self, other: &AssociateDataShareConsumerInput) -> bool
self
and other
values to be equal, and is used
by ==
.