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.
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 namespace 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.
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 namespace 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 ==.Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more