#[non_exhaustive]pub struct PutTargetsResultEntryBuilder { /* private fields */ }Expand description
A builder for PutTargetsResultEntry.
Implementations§
source§impl PutTargetsResultEntryBuilder
impl PutTargetsResultEntryBuilder
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 addition 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 addition 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 addition 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 addition 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 addition 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 addition failed.
sourcepub fn build(self) -> PutTargetsResultEntry
pub fn build(self) -> PutTargetsResultEntry
Consumes the builder and constructs a PutTargetsResultEntry.
Trait Implementations§
source§impl Clone for PutTargetsResultEntryBuilder
impl Clone for PutTargetsResultEntryBuilder
source§fn clone(&self) -> PutTargetsResultEntryBuilder
fn clone(&self) -> PutTargetsResultEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutTargetsResultEntryBuilder
impl Debug for PutTargetsResultEntryBuilder
source§impl Default for PutTargetsResultEntryBuilder
impl Default for PutTargetsResultEntryBuilder
source§fn default() -> PutTargetsResultEntryBuilder
fn default() -> PutTargetsResultEntryBuilder
source§impl PartialEq for PutTargetsResultEntryBuilder
impl PartialEq for PutTargetsResultEntryBuilder
source§fn eq(&self, other: &PutTargetsResultEntryBuilder) -> bool
fn eq(&self, other: &PutTargetsResultEntryBuilder) -> bool
self and other values to be equal, and is used
by ==.