Struct aws_sdk_redshift::operation::update_partner_status::builders::UpdatePartnerStatusInputBuilder
source · #[non_exhaustive]pub struct UpdatePartnerStatusInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePartnerStatusInput
.
Implementations§
source§impl UpdatePartnerStatusInputBuilder
impl UpdatePartnerStatusInputBuilder
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 whose partner integration status is being updated.
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 whose partner integration status is being updated.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster identifier of the cluster whose partner integration status is being updated.
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 whose partner integration status is being updated.
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 whose partner integration status is being updated.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database whose partner integration status is being updated.
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 whose integration status is being updated.
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 whose integration status is being updated.
sourcepub fn get_partner_name(&self) -> &Option<String>
pub fn get_partner_name(&self) -> &Option<String>
The name of the partner whose integration status is being updated.
sourcepub fn status(self, input: PartnerIntegrationStatus) -> Self
pub fn status(self, input: PartnerIntegrationStatus) -> Self
The value of the updated status.
This field is required.sourcepub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
pub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
The value of the updated status.
sourcepub fn get_status(&self) -> &Option<PartnerIntegrationStatus>
pub fn get_status(&self) -> &Option<PartnerIntegrationStatus>
The value of the updated status.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message provided by the partner.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message provided by the partner.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message provided by the partner.
sourcepub fn build(self) -> Result<UpdatePartnerStatusInput, BuildError>
pub fn build(self) -> Result<UpdatePartnerStatusInput, BuildError>
Consumes the builder and constructs a UpdatePartnerStatusInput
.
source§impl UpdatePartnerStatusInputBuilder
impl UpdatePartnerStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePartnerStatusOutput, SdkError<UpdatePartnerStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePartnerStatusOutput, SdkError<UpdatePartnerStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePartnerStatusInputBuilder
impl Clone for UpdatePartnerStatusInputBuilder
source§fn clone(&self) -> UpdatePartnerStatusInputBuilder
fn clone(&self) -> UpdatePartnerStatusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePartnerStatusInputBuilder
impl Default for UpdatePartnerStatusInputBuilder
source§fn default() -> UpdatePartnerStatusInputBuilder
fn default() -> UpdatePartnerStatusInputBuilder
source§impl PartialEq for UpdatePartnerStatusInputBuilder
impl PartialEq for UpdatePartnerStatusInputBuilder
source§fn eq(&self, other: &UpdatePartnerStatusInputBuilder) -> bool
fn eq(&self, other: &UpdatePartnerStatusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.