Struct aws_sdk_redshift::operation::authorize_data_share::builders::AuthorizeDataShareInputBuilder
source · #[non_exhaustive]pub struct AuthorizeDataShareInputBuilder { /* private fields */ }
Expand description
A builder for AuthorizeDataShareInput
.
Implementations§
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
sourcepub fn consumer_identifier(self, input: impl Into<String>) -> Self
pub fn consumer_identifier(self, input: impl Into<String>) -> Self
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
sourcepub fn set_consumer_identifier(self, input: Option<String>) -> Self
pub fn set_consumer_identifier(self, input: Option<String>) -> Self
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
sourcepub fn build(self) -> Result<AuthorizeDataShareInput, BuildError>
pub fn build(self) -> Result<AuthorizeDataShareInput, BuildError>
Consumes the builder and constructs a AuthorizeDataShareInput
.
Trait Implementations§
source§fn clone(&self) -> AuthorizeDataShareInputBuilder
fn clone(&self) -> AuthorizeDataShareInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> AuthorizeDataShareInputBuilder
fn default() -> AuthorizeDataShareInputBuilder
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &AuthorizeDataShareInputBuilder) -> bool
fn eq(&self, other: &AuthorizeDataShareInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more