Struct aws_sdk_resiliencehub::types::builders::BatchUpdateRecommendationStatusSuccessfulEntryBuilder
source · #[non_exhaustive]pub struct BatchUpdateRecommendationStatusSuccessfulEntryBuilder { /* private fields */ }Expand description
A builder for BatchUpdateRecommendationStatusSuccessfulEntry.
Implementations§
source§impl BatchUpdateRecommendationStatusSuccessfulEntryBuilder
impl BatchUpdateRecommendationStatusSuccessfulEntryBuilder
sourcepub fn entry_id(self, input: impl Into<String>) -> Self
pub fn entry_id(self, input: impl Into<String>) -> Self
An identifier for an entry in this batch that is used to communicate the result.
The entryIds of a batch request need to be unique within a request.
sourcepub fn set_entry_id(self, input: Option<String>) -> Self
pub fn set_entry_id(self, input: Option<String>) -> Self
An identifier for an entry in this batch that is used to communicate the result.
The entryIds of a batch request need to be unique within a request.
sourcepub fn get_entry_id(&self) -> &Option<String>
pub fn get_entry_id(&self) -> &Option<String>
An identifier for an entry in this batch that is used to communicate the result.
The entryIds of a batch request need to be unique within a request.
sourcepub fn reference_id(self, input: impl Into<String>) -> Self
pub fn reference_id(self, input: impl Into<String>) -> Self
Reference identifier of the operational recommendation.
This field is required.sourcepub fn set_reference_id(self, input: Option<String>) -> Self
pub fn set_reference_id(self, input: Option<String>) -> Self
Reference identifier of the operational recommendation.
sourcepub fn get_reference_id(&self) -> &Option<String>
pub fn get_reference_id(&self) -> &Option<String>
Reference identifier of the operational recommendation.
sourcepub fn item(self, input: UpdateRecommendationStatusItem) -> Self
pub fn item(self, input: UpdateRecommendationStatusItem) -> Self
The operational recommendation item.
This field is required.sourcepub fn set_item(self, input: Option<UpdateRecommendationStatusItem>) -> Self
pub fn set_item(self, input: Option<UpdateRecommendationStatusItem>) -> Self
The operational recommendation item.
sourcepub fn get_item(&self) -> &Option<UpdateRecommendationStatusItem>
pub fn get_item(&self) -> &Option<UpdateRecommendationStatusItem>
The operational recommendation item.
sourcepub fn excluded(self, input: bool) -> Self
pub fn excluded(self, input: bool) -> Self
Indicates if the operational recommendation was successfully excluded.
This field is required.sourcepub fn set_excluded(self, input: Option<bool>) -> Self
pub fn set_excluded(self, input: Option<bool>) -> Self
Indicates if the operational recommendation was successfully excluded.
sourcepub fn get_excluded(&self) -> &Option<bool>
pub fn get_excluded(&self) -> &Option<bool>
Indicates if the operational recommendation was successfully excluded.
sourcepub fn exclude_reason(self, input: ExcludeRecommendationReason) -> Self
pub fn exclude_reason(self, input: ExcludeRecommendationReason) -> Self
Indicates the reason for excluding an operational recommendation.
sourcepub fn set_exclude_reason(
self,
input: Option<ExcludeRecommendationReason>
) -> Self
pub fn set_exclude_reason( self, input: Option<ExcludeRecommendationReason> ) -> Self
Indicates the reason for excluding an operational recommendation.
sourcepub fn get_exclude_reason(&self) -> &Option<ExcludeRecommendationReason>
pub fn get_exclude_reason(&self) -> &Option<ExcludeRecommendationReason>
Indicates the reason for excluding an operational recommendation.
sourcepub fn build(
self
) -> Result<BatchUpdateRecommendationStatusSuccessfulEntry, BuildError>
pub fn build( self ) -> Result<BatchUpdateRecommendationStatusSuccessfulEntry, BuildError>
Consumes the builder and constructs a BatchUpdateRecommendationStatusSuccessfulEntry.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
impl Clone for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
source§fn clone(&self) -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
fn clone(&self) -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
impl Default for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
source§fn default() -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
fn default() -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
source§impl PartialEq for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
impl PartialEq for BatchUpdateRecommendationStatusSuccessfulEntryBuilder
source§fn eq(
&self,
other: &BatchUpdateRecommendationStatusSuccessfulEntryBuilder
) -> bool
fn eq( &self, other: &BatchUpdateRecommendationStatusSuccessfulEntryBuilder ) -> bool
self and other values to be equal, and is used
by ==.