Struct aws_sdk_trustedadvisor::operation::update_recommendation_lifecycle::builders::UpdateRecommendationLifecycleInputBuilder
source · #[non_exhaustive]pub struct UpdateRecommendationLifecycleInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRecommendationLifecycleInput
.
Implementations§
source§impl UpdateRecommendationLifecycleInputBuilder
impl UpdateRecommendationLifecycleInputBuilder
sourcepub fn lifecycle_stage(self, input: UpdateRecommendationLifecycleStage) -> Self
pub fn lifecycle_stage(self, input: UpdateRecommendationLifecycleStage) -> Self
The new lifecycle stage
This field is required.sourcepub fn set_lifecycle_stage(
self,
input: Option<UpdateRecommendationLifecycleStage>,
) -> Self
pub fn set_lifecycle_stage( self, input: Option<UpdateRecommendationLifecycleStage>, ) -> Self
The new lifecycle stage
sourcepub fn get_lifecycle_stage(&self) -> &Option<UpdateRecommendationLifecycleStage>
pub fn get_lifecycle_stage(&self) -> &Option<UpdateRecommendationLifecycleStage>
The new lifecycle stage
sourcepub fn update_reason(self, input: impl Into<String>) -> Self
pub fn update_reason(self, input: impl Into<String>) -> Self
Reason for the lifecycle stage change
sourcepub fn set_update_reason(self, input: Option<String>) -> Self
pub fn set_update_reason(self, input: Option<String>) -> Self
Reason for the lifecycle stage change
sourcepub fn get_update_reason(&self) -> &Option<String>
pub fn get_update_reason(&self) -> &Option<String>
Reason for the lifecycle stage change
sourcepub fn update_reason_code(
self,
input: UpdateRecommendationLifecycleStageReasonCode,
) -> Self
pub fn update_reason_code( self, input: UpdateRecommendationLifecycleStageReasonCode, ) -> Self
Reason code for the lifecycle state change
sourcepub fn set_update_reason_code(
self,
input: Option<UpdateRecommendationLifecycleStageReasonCode>,
) -> Self
pub fn set_update_reason_code( self, input: Option<UpdateRecommendationLifecycleStageReasonCode>, ) -> Self
Reason code for the lifecycle state change
sourcepub fn get_update_reason_code(
&self,
) -> &Option<UpdateRecommendationLifecycleStageReasonCode>
pub fn get_update_reason_code( &self, ) -> &Option<UpdateRecommendationLifecycleStageReasonCode>
Reason code for the lifecycle state change
sourcepub fn recommendation_identifier(self, input: impl Into<String>) -> Self
pub fn recommendation_identifier(self, input: impl Into<String>) -> Self
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
This field is required.sourcepub fn set_recommendation_identifier(self, input: Option<String>) -> Self
pub fn set_recommendation_identifier(self, input: Option<String>) -> Self
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
sourcepub fn get_recommendation_identifier(&self) -> &Option<String>
pub fn get_recommendation_identifier(&self) -> &Option<String>
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
sourcepub fn build(self) -> Result<UpdateRecommendationLifecycleInput, BuildError>
pub fn build(self) -> Result<UpdateRecommendationLifecycleInput, BuildError>
Consumes the builder and constructs a UpdateRecommendationLifecycleInput
.
source§impl UpdateRecommendationLifecycleInputBuilder
impl UpdateRecommendationLifecycleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateRecommendationLifecycleOutput, SdkError<UpdateRecommendationLifecycleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateRecommendationLifecycleOutput, SdkError<UpdateRecommendationLifecycleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRecommendationLifecycleInputBuilder
impl Clone for UpdateRecommendationLifecycleInputBuilder
source§fn clone(&self) -> UpdateRecommendationLifecycleInputBuilder
fn clone(&self) -> UpdateRecommendationLifecycleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateRecommendationLifecycleInputBuilder
impl Default for UpdateRecommendationLifecycleInputBuilder
source§fn default() -> UpdateRecommendationLifecycleInputBuilder
fn default() -> UpdateRecommendationLifecycleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRecommendationLifecycleInputBuilder
impl PartialEq for UpdateRecommendationLifecycleInputBuilder
source§fn eq(&self, other: &UpdateRecommendationLifecycleInputBuilder) -> bool
fn eq(&self, other: &UpdateRecommendationLifecycleInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateRecommendationLifecycleInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRecommendationLifecycleInputBuilder
impl RefUnwindSafe for UpdateRecommendationLifecycleInputBuilder
impl Send for UpdateRecommendationLifecycleInputBuilder
impl Sync for UpdateRecommendationLifecycleInputBuilder
impl Unpin for UpdateRecommendationLifecycleInputBuilder
impl UnwindSafe for UpdateRecommendationLifecycleInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.