Struct aws_sdk_redshift::operation::add_partner::AddPartnerInput
source · #[non_exhaustive]pub struct AddPartnerInput {
pub account_id: Option<String>,
pub cluster_identifier: Option<String>,
pub database_name: Option<String>,
pub partner_name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_id: Option<String>
The Amazon Web Services account ID that owns the cluster.
cluster_identifier: Option<String>
The cluster identifier of the cluster that receives data from the partner.
database_name: Option<String>
The name of the database that receives data from the partner.
partner_name: Option<String>
The name of the partner that is authorized to send data.
Implementations§
source§impl AddPartnerInput
impl AddPartnerInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID that owns the cluster.
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The cluster identifier of the cluster that receives data from the partner.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database that receives data from the partner.
sourcepub fn partner_name(&self) -> Option<&str>
pub fn partner_name(&self) -> Option<&str>
The name of the partner that is authorized to send data.
source§impl AddPartnerInput
impl AddPartnerInput
sourcepub fn builder() -> AddPartnerInputBuilder
pub fn builder() -> AddPartnerInputBuilder
Creates a new builder-style object to manufacture AddPartnerInput
.
Trait Implementations§
source§impl Clone for AddPartnerInput
impl Clone for AddPartnerInput
source§fn clone(&self) -> AddPartnerInput
fn clone(&self) -> AddPartnerInput
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§impl Debug for AddPartnerInput
impl Debug for AddPartnerInput
source§impl PartialEq for AddPartnerInput
impl PartialEq for AddPartnerInput
source§fn eq(&self, other: &AddPartnerInput) -> bool
fn eq(&self, other: &AddPartnerInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddPartnerInput
Auto Trait Implementations§
impl Freeze for AddPartnerInput
impl RefUnwindSafe for AddPartnerInput
impl Send for AddPartnerInput
impl Sync for AddPartnerInput
impl Unpin for AddPartnerInput
impl UnwindSafe for AddPartnerInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.