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 ==.impl StructuralPartialEq for UpdatePartnerStatusInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePartnerStatusInputBuilder
impl RefUnwindSafe for UpdatePartnerStatusInputBuilder
impl Send for UpdatePartnerStatusInputBuilder
impl Sync for UpdatePartnerStatusInputBuilder
impl Unpin for UpdatePartnerStatusInputBuilder
impl UnwindSafe for UpdatePartnerStatusInputBuilder
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