#[non_exhaustive]pub struct RemoveTargetsResultEntryBuilder { /* private fields */ }Expand description
A builder for RemoveTargetsResultEntry.
Implementations§
source§impl RemoveTargetsResultEntryBuilder
impl RemoveTargetsResultEntryBuilder
sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
The ID of the target.
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
The ID of the target.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code that indicates why the target removal failed. If the value is ConcurrentModificationException, too many requests were made at the same time.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code that indicates why the target removal failed. If the value is ConcurrentModificationException, too many requests were made at the same time.
sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
The error code that indicates why the target removal failed. If the value is ConcurrentModificationException, too many requests were made at the same time.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message that explains why the target removal failed.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message that explains why the target removal failed.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message that explains why the target removal failed.
sourcepub fn build(self) -> RemoveTargetsResultEntry
pub fn build(self) -> RemoveTargetsResultEntry
Consumes the builder and constructs a RemoveTargetsResultEntry.
Trait Implementations§
source§impl Clone for RemoveTargetsResultEntryBuilder
impl Clone for RemoveTargetsResultEntryBuilder
source§fn clone(&self) -> RemoveTargetsResultEntryBuilder
fn clone(&self) -> RemoveTargetsResultEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RemoveTargetsResultEntryBuilder
impl Default for RemoveTargetsResultEntryBuilder
source§fn default() -> RemoveTargetsResultEntryBuilder
fn default() -> RemoveTargetsResultEntryBuilder
source§impl PartialEq for RemoveTargetsResultEntryBuilder
impl PartialEq for RemoveTargetsResultEntryBuilder
source§fn eq(&self, other: &RemoveTargetsResultEntryBuilder) -> bool
fn eq(&self, other: &RemoveTargetsResultEntryBuilder) -> bool
self and other values to be equal, and is used
by ==.