#[non_exhaustive]pub struct AddPartnerInputBuilder { /* private fields */ }
Expand description
A builder for AddPartnerInput
.
Implementations§
source§impl AddPartnerInputBuilder
impl AddPartnerInputBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that owns the cluster.
This field is required.sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that owns the cluster.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID that owns the cluster.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The cluster identifier of the cluster that receives data from the partner.
This field is required.sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The cluster identifier of the cluster that receives data from the partner.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster identifier of the cluster that receives data from the partner.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database that receives data from the partner.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database that receives data from the partner.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database that receives data from the partner.
sourcepub fn partner_name(self, input: impl Into<String>) -> Self
pub fn partner_name(self, input: impl Into<String>) -> Self
The name of the partner that is authorized to send data.
This field is required.sourcepub fn set_partner_name(self, input: Option<String>) -> Self
pub fn set_partner_name(self, input: Option<String>) -> Self
The name of the partner that is authorized to send data.
sourcepub fn get_partner_name(&self) -> &Option<String>
pub fn get_partner_name(&self) -> &Option<String>
The name of the partner that is authorized to send data.
sourcepub fn build(self) -> Result<AddPartnerInput, BuildError>
pub fn build(self) -> Result<AddPartnerInput, BuildError>
Consumes the builder and constructs a AddPartnerInput
.
source§impl AddPartnerInputBuilder
impl AddPartnerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AddPartnerOutput, SdkError<AddPartnerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AddPartnerOutput, SdkError<AddPartnerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddPartnerInputBuilder
impl Clone for AddPartnerInputBuilder
source§fn clone(&self) -> AddPartnerInputBuilder
fn clone(&self) -> AddPartnerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddPartnerInputBuilder
impl Debug for AddPartnerInputBuilder
source§impl Default for AddPartnerInputBuilder
impl Default for AddPartnerInputBuilder
source§fn default() -> AddPartnerInputBuilder
fn default() -> AddPartnerInputBuilder
source§impl PartialEq for AddPartnerInputBuilder
impl PartialEq for AddPartnerInputBuilder
impl StructuralPartialEq for AddPartnerInputBuilder
Auto Trait Implementations§
impl Freeze for AddPartnerInputBuilder
impl RefUnwindSafe for AddPartnerInputBuilder
impl Send for AddPartnerInputBuilder
impl Sync for AddPartnerInputBuilder
impl Unpin for AddPartnerInputBuilder
impl UnwindSafe for AddPartnerInputBuilder
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