pub struct AddPartnerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddPartner
.
Adds a partner integration to a cluster. This operation authorizes a partner to push status updates for the specified database. To complete the integration, you also set up the integration on the partner website.
Implementations§
source§impl AddPartnerFluentBuilder
impl AddPartnerFluentBuilder
sourcepub fn as_input(&self) -> &AddPartnerInputBuilder
pub fn as_input(&self) -> &AddPartnerInputBuilder
Access the AddPartner as a reference.
sourcepub async fn send(
self
) -> Result<AddPartnerOutput, SdkError<AddPartnerError, HttpResponse>>
pub async fn send( self ) -> Result<AddPartnerOutput, SdkError<AddPartnerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddPartnerOutput, AddPartnerError>, SdkError<AddPartnerError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AddPartnerOutput, AddPartnerError>, SdkError<AddPartnerError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for AddPartnerFluentBuilder
impl Clone for AddPartnerFluentBuilder
source§fn clone(&self) -> AddPartnerFluentBuilder
fn clone(&self) -> AddPartnerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more