#[non_exhaustive]pub struct CreateEntityOutputBuilder { /* private fields */ }Expand description
A builder for CreateEntityOutput.
Implementations§
source§impl CreateEntityOutputBuilder
impl CreateEntityOutputBuilder
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The ID of the entity.
This field is required.sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The ID of the entity.
sourcepub fn get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
The ID of the entity.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the entity.
This field is required.sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time when the entity was created.
This field is required.sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time when the entity was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time when the entity was created.
sourcepub fn state(self, input: State) -> Self
pub fn state(self, input: State) -> Self
The current state of the entity.
This field is required.sourcepub fn build(self) -> Result<CreateEntityOutput, BuildError>
pub fn build(self) -> Result<CreateEntityOutput, BuildError>
Consumes the builder and constructs a CreateEntityOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateEntityOutputBuilder
impl Clone for CreateEntityOutputBuilder
source§fn clone(&self) -> CreateEntityOutputBuilder
fn clone(&self) -> CreateEntityOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateEntityOutputBuilder
impl Debug for CreateEntityOutputBuilder
source§impl Default for CreateEntityOutputBuilder
impl Default for CreateEntityOutputBuilder
source§fn default() -> CreateEntityOutputBuilder
fn default() -> CreateEntityOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateEntityOutputBuilder
impl PartialEq for CreateEntityOutputBuilder
source§fn eq(&self, other: &CreateEntityOutputBuilder) -> bool
fn eq(&self, other: &CreateEntityOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateEntityOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateEntityOutputBuilder
impl RefUnwindSafe for CreateEntityOutputBuilder
impl Send for CreateEntityOutputBuilder
impl Sync for CreateEntityOutputBuilder
impl Unpin for CreateEntityOutputBuilder
impl UnwindSafe for CreateEntityOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.