#[non_exhaustive]pub struct GetEntityOutputBuilder { /* private fields */ }Expand description
A builder for GetEntityOutput.
Implementations§
source§impl GetEntityOutputBuilder
impl GetEntityOutputBuilder
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 entity_name(self, input: impl Into<String>) -> Self
pub fn entity_name(self, input: impl Into<String>) -> Self
The name of the entity.
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 set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
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.
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 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 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 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.
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 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.
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 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.
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 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.
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 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 build(self) -> GetEntityOutput
pub fn build(self) -> GetEntityOutput
Consumes the builder and constructs a GetEntityOutput.
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<GetEntityOutputBuilder> for GetEntityOutputBuilder
impl PartialEq<GetEntityOutputBuilder> for GetEntityOutputBuilder
source§fn eq(&self, other: &GetEntityOutputBuilder) -> bool
fn eq(&self, other: &GetEntityOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.