#[non_exhaustive]pub struct BotRecommendationSummaryBuilder { /* private fields */ }Expand description
A builder for BotRecommendationSummary.
Implementations§
source§impl BotRecommendationSummaryBuilder
impl BotRecommendationSummaryBuilder
sourcepub fn bot_recommendation_status(self, input: BotRecommendationStatus) -> Self
pub fn bot_recommendation_status(self, input: BotRecommendationStatus) -> Self
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
This field is required.sourcepub fn set_bot_recommendation_status(
self,
input: Option<BotRecommendationStatus>,
) -> Self
pub fn set_bot_recommendation_status( self, input: Option<BotRecommendationStatus>, ) -> Self
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
sourcepub fn get_bot_recommendation_status(&self) -> &Option<BotRecommendationStatus>
pub fn get_bot_recommendation_status(&self) -> &Option<BotRecommendationStatus>
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
sourcepub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
pub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot recommendation to be updated.
This field is required.sourcepub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
pub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
The unique identifier of the bot recommendation to be updated.
sourcepub fn get_bot_recommendation_id(&self) -> &Option<String>
pub fn get_bot_recommendation_id(&self) -> &Option<String>
The unique identifier of the bot recommendation to be updated.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot recommendation was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
A timestamp of the date and time that the bot recommendation was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot recommendation was last updated.
sourcepub fn build(self) -> Result<BotRecommendationSummary, BuildError>
pub fn build(self) -> Result<BotRecommendationSummary, BuildError>
Consumes the builder and constructs a BotRecommendationSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BotRecommendationSummaryBuilder
impl Clone for BotRecommendationSummaryBuilder
source§fn clone(&self) -> BotRecommendationSummaryBuilder
fn clone(&self) -> BotRecommendationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BotRecommendationSummaryBuilder
impl Default for BotRecommendationSummaryBuilder
source§fn default() -> BotRecommendationSummaryBuilder
fn default() -> BotRecommendationSummaryBuilder
source§impl PartialEq for BotRecommendationSummaryBuilder
impl PartialEq for BotRecommendationSummaryBuilder
source§fn eq(&self, other: &BotRecommendationSummaryBuilder) -> bool
fn eq(&self, other: &BotRecommendationSummaryBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BotRecommendationSummaryBuilder
Auto Trait Implementations§
impl Freeze for BotRecommendationSummaryBuilder
impl RefUnwindSafe for BotRecommendationSummaryBuilder
impl Send for BotRecommendationSummaryBuilder
impl Sync for BotRecommendationSummaryBuilder
impl Unpin for BotRecommendationSummaryBuilder
impl UnwindSafe for BotRecommendationSummaryBuilder
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