Struct aws_sdk_resiliencehub::types::builders::BatchUpdateRecommendationStatusFailedEntryBuilder
source · #[non_exhaustive]pub struct BatchUpdateRecommendationStatusFailedEntryBuilder { /* private fields */ }Expand description
A builder for BatchUpdateRecommendationStatusFailedEntry.
Implementations§
source§impl BatchUpdateRecommendationStatusFailedEntryBuilder
impl BatchUpdateRecommendationStatusFailedEntryBuilder
sourcepub fn entry_id(self, input: impl Into<String>) -> Self
pub fn entry_id(self, input: impl Into<String>) -> Self
An identifier of 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 of 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 of 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 error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
Indicates the error that occurred while excluding an operational recommendation.
This field is required.sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
Indicates the error that occurred while excluding an operational recommendation.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
Indicates the error that occurred while excluding an operational recommendation.
sourcepub fn build(
self
) -> Result<BatchUpdateRecommendationStatusFailedEntry, BuildError>
pub fn build( self ) -> Result<BatchUpdateRecommendationStatusFailedEntry, BuildError>
Consumes the builder and constructs a BatchUpdateRecommendationStatusFailedEntry.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchUpdateRecommendationStatusFailedEntryBuilder
impl Clone for BatchUpdateRecommendationStatusFailedEntryBuilder
source§fn clone(&self) -> BatchUpdateRecommendationStatusFailedEntryBuilder
fn clone(&self) -> BatchUpdateRecommendationStatusFailedEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchUpdateRecommendationStatusFailedEntryBuilder
impl Default for BatchUpdateRecommendationStatusFailedEntryBuilder
source§fn default() -> BatchUpdateRecommendationStatusFailedEntryBuilder
fn default() -> BatchUpdateRecommendationStatusFailedEntryBuilder
source§impl PartialEq for BatchUpdateRecommendationStatusFailedEntryBuilder
impl PartialEq for BatchUpdateRecommendationStatusFailedEntryBuilder
source§fn eq(&self, other: &BatchUpdateRecommendationStatusFailedEntryBuilder) -> bool
fn eq(&self, other: &BatchUpdateRecommendationStatusFailedEntryBuilder) -> bool
self and other values to be equal, and is used
by ==.