#[non_exhaustive]pub struct PutProjectEventsResultEntryBuilder { /* private fields */ }
Expand description
A builder for PutProjectEventsResultEntry
.
Implementations§
source§impl PutProjectEventsResultEntryBuilder
impl PutProjectEventsResultEntryBuilder
sourcepub fn event_id(self, input: impl Into<String>) -> Self
pub fn event_id(self, input: impl Into<String>) -> Self
A unique ID assigned to this PutProjectEvents
operation.
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
A unique ID assigned to this PutProjectEvents
operation.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
A unique ID assigned to this PutProjectEvents
operation.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
If the PutProjectEvents
operation has an error, the error code is returned here.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
If the PutProjectEvents
operation has an error, the error code is returned here.
sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
If the PutProjectEvents
operation has an error, the error code is returned here.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
If the PutProjectEvents
operation has an error, the error message is returned here.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
If the PutProjectEvents
operation has an error, the error message is returned here.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
If the PutProjectEvents
operation has an error, the error message is returned here.
sourcepub fn build(self) -> PutProjectEventsResultEntry
pub fn build(self) -> PutProjectEventsResultEntry
Consumes the builder and constructs a PutProjectEventsResultEntry
.
Trait Implementations§
source§impl Clone for PutProjectEventsResultEntryBuilder
impl Clone for PutProjectEventsResultEntryBuilder
source§fn clone(&self) -> PutProjectEventsResultEntryBuilder
fn clone(&self) -> PutProjectEventsResultEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutProjectEventsResultEntryBuilder
impl Default for PutProjectEventsResultEntryBuilder
source§fn default() -> PutProjectEventsResultEntryBuilder
fn default() -> PutProjectEventsResultEntryBuilder
source§impl PartialEq for PutProjectEventsResultEntryBuilder
impl PartialEq for PutProjectEventsResultEntryBuilder
source§fn eq(&self, other: &PutProjectEventsResultEntryBuilder) -> bool
fn eq(&self, other: &PutProjectEventsResultEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutProjectEventsResultEntryBuilder
Auto Trait Implementations§
impl Freeze for PutProjectEventsResultEntryBuilder
impl RefUnwindSafe for PutProjectEventsResultEntryBuilder
impl Send for PutProjectEventsResultEntryBuilder
impl Sync for PutProjectEventsResultEntryBuilder
impl Unpin for PutProjectEventsResultEntryBuilder
impl UnwindSafe for PutProjectEventsResultEntryBuilder
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> 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