#[non_exhaustive]pub struct GetEntityOutputBuilder { /* private fields */ }Expand description
A builder for GetEntityOutput.
Implementations§
source§impl GetEntityOutputBuilder
impl GetEntityOutputBuilder
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 entity_name(self, input: impl Into<String>) -> Self
pub fn entity_name(self, input: impl Into<String>) -> Self
The name of the entity.
This field is required.sourcepub fn set_entity_name(self, input: Option<String>) -> Self
pub fn set_entity_name(self, input: Option<String>) -> Self
The name of the entity.
sourcepub fn get_entity_name(&self) -> &Option<String>
pub fn get_entity_name(&self) -> &Option<String>
The name 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 status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
The current status of the entity.
This field is required.sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The current status of the entity.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The current status of the entity.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the entity.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the entity.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the entity.
sourcepub fn components(self, k: impl Into<String>, v: ComponentResponse) -> Self
pub fn components(self, k: impl Into<String>, v: ComponentResponse) -> Self
Adds a key-value pair to components.
To override the contents of this collection use set_components.
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
sourcepub fn set_components(
self,
input: Option<HashMap<String, ComponentResponse>>,
) -> Self
pub fn set_components( self, input: Option<HashMap<String, ComponentResponse>>, ) -> Self
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
sourcepub fn get_components(&self) -> &Option<HashMap<String, ComponentResponse>>
pub fn get_components(&self) -> &Option<HashMap<String, ComponentResponse>>
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
sourcepub fn parent_entity_id(self, input: impl Into<String>) -> Self
pub fn parent_entity_id(self, input: impl Into<String>) -> Self
The ID of the parent entity for this entity.
This field is required.sourcepub fn set_parent_entity_id(self, input: Option<String>) -> Self
pub fn set_parent_entity_id(self, input: Option<String>) -> Self
The ID of the parent entity for this entity.
sourcepub fn get_parent_entity_id(&self) -> &Option<String>
pub fn get_parent_entity_id(&self) -> &Option<String>
The ID of the parent entity for this entity.
sourcepub fn has_child_entities(self, input: bool) -> Self
pub fn has_child_entities(self, input: bool) -> Self
A Boolean value that specifies whether the entity has associated child entities.
This field is required.sourcepub fn set_has_child_entities(self, input: Option<bool>) -> Self
pub fn set_has_child_entities(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the entity has associated child entities.
sourcepub fn get_has_child_entities(&self) -> &Option<bool>
pub fn get_has_child_entities(&self) -> &Option<bool>
A Boolean value that specifies whether the entity has associated child entities.
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 update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The date and time when the entity was last updated.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The date and time when the entity was last updated.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The date and time when the entity was last updated.
sourcepub fn sync_source(self, input: impl Into<String>) -> Self
pub fn sync_source(self, input: impl Into<String>) -> Self
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn set_sync_source(self, input: Option<String>) -> Self
pub fn set_sync_source(self, input: Option<String>) -> Self
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn get_sync_source(&self) -> &Option<String>
pub fn get_sync_source(&self) -> &Option<String>
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn are_all_components_returned(self, input: bool) -> Self
pub fn are_all_components_returned(self, input: bool) -> Self
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
sourcepub fn set_are_all_components_returned(self, input: Option<bool>) -> Self
pub fn set_are_all_components_returned(self, input: Option<bool>) -> Self
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
sourcepub fn get_are_all_components_returned(&self) -> &Option<bool>
pub fn get_are_all_components_returned(&self) -> &Option<bool>
This flag notes whether all components are returned in the API response. The maximum number of components returned is 30.
sourcepub fn build(self) -> Result<GetEntityOutput, BuildError>
pub fn build(self) -> Result<GetEntityOutput, BuildError>
Consumes the builder and constructs a GetEntityOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetEntityOutputBuilder
impl Clone for GetEntityOutputBuilder
source§fn clone(&self) -> GetEntityOutputBuilder
fn clone(&self) -> GetEntityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetEntityOutputBuilder
impl Debug for GetEntityOutputBuilder
source§impl Default for GetEntityOutputBuilder
impl Default for GetEntityOutputBuilder
source§fn default() -> GetEntityOutputBuilder
fn default() -> GetEntityOutputBuilder
source§impl PartialEq for GetEntityOutputBuilder
impl PartialEq for GetEntityOutputBuilder
impl StructuralPartialEq for GetEntityOutputBuilder
Auto Trait Implementations§
impl Freeze for GetEntityOutputBuilder
impl RefUnwindSafe for GetEntityOutputBuilder
impl Send for GetEntityOutputBuilder
impl Sync for GetEntityOutputBuilder
impl Unpin for GetEntityOutputBuilder
impl UnwindSafe for GetEntityOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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