Struct aws_sdk_rds::operation::modify_db_recommendation::builders::ModifyDbRecommendationInputBuilder
source · #[non_exhaustive]pub struct ModifyDbRecommendationInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbRecommendationInput.
Implementations§
source§impl ModifyDbRecommendationInputBuilder
impl ModifyDbRecommendationInputBuilder
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The identifier of the recommendation to update.
This field is required.sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The identifier of the recommendation to update.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
pub fn get_recommendation_id(&self) -> &Option<String>
The identifier of the recommendation to update.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The language of the modified recommendation.
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The language of the modified recommendation.
sourcepub fn get_locale(&self) -> &Option<String>
pub fn get_locale(&self) -> &Option<String>
The language of the modified recommendation.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The recommendation status to update.
Valid values:
-
active
-
dismissed
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The recommendation status to update.
Valid values:
-
active
-
dismissed
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The recommendation status to update.
Valid values:
-
active
-
dismissed
sourcepub fn recommended_action_updates(self, input: RecommendedActionUpdate) -> Self
pub fn recommended_action_updates(self, input: RecommendedActionUpdate) -> Self
Appends an item to recommended_action_updates.
To override the contents of this collection use set_recommended_action_updates.
The list of recommended action status to update. You can update multiple recommended actions at one time.
sourcepub fn set_recommended_action_updates(
self,
input: Option<Vec<RecommendedActionUpdate>>,
) -> Self
pub fn set_recommended_action_updates( self, input: Option<Vec<RecommendedActionUpdate>>, ) -> Self
The list of recommended action status to update. You can update multiple recommended actions at one time.
sourcepub fn get_recommended_action_updates(
&self,
) -> &Option<Vec<RecommendedActionUpdate>>
pub fn get_recommended_action_updates( &self, ) -> &Option<Vec<RecommendedActionUpdate>>
The list of recommended action status to update. You can update multiple recommended actions at one time.
sourcepub fn build(self) -> Result<ModifyDbRecommendationInput, BuildError>
pub fn build(self) -> Result<ModifyDbRecommendationInput, BuildError>
Consumes the builder and constructs a ModifyDbRecommendationInput.
source§impl ModifyDbRecommendationInputBuilder
impl ModifyDbRecommendationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyDbRecommendationOutput, SdkError<ModifyDBRecommendationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyDbRecommendationOutput, SdkError<ModifyDBRecommendationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbRecommendationInputBuilder
impl Clone for ModifyDbRecommendationInputBuilder
source§fn clone(&self) -> ModifyDbRecommendationInputBuilder
fn clone(&self) -> ModifyDbRecommendationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbRecommendationInputBuilder
impl Default for ModifyDbRecommendationInputBuilder
source§fn default() -> ModifyDbRecommendationInputBuilder
fn default() -> ModifyDbRecommendationInputBuilder
source§impl PartialEq for ModifyDbRecommendationInputBuilder
impl PartialEq for ModifyDbRecommendationInputBuilder
source§fn eq(&self, other: &ModifyDbRecommendationInputBuilder) -> bool
fn eq(&self, other: &ModifyDbRecommendationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyDbRecommendationInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyDbRecommendationInputBuilder
impl RefUnwindSafe for ModifyDbRecommendationInputBuilder
impl Send for ModifyDbRecommendationInputBuilder
impl Sync for ModifyDbRecommendationInputBuilder
impl Unpin for ModifyDbRecommendationInputBuilder
impl UnwindSafe for ModifyDbRecommendationInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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