#[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
source§fn eq(&self, other: &AddPartnerInputBuilder) -> bool
fn eq(&self, other: &AddPartnerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.