pub struct CreateEntityFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateEntity.
Creates an entity.
Implementations§
source§impl CreateEntityFluentBuilder
impl CreateEntityFluentBuilder
sourcepub fn as_input(&self) -> &CreateEntityInputBuilder
pub fn as_input(&self) -> &CreateEntityInputBuilder
Access the CreateEntity as a reference.
sourcepub async fn send(
self
) -> Result<CreateEntityOutput, SdkError<CreateEntityError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEntityOutput, SdkError<CreateEntityError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateEntityOutput, CreateEntityError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEntityOutput, CreateEntityError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 that contains the entity.
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 that contains the entity.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace that contains the entity.
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.
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 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: ComponentRequest) -> Self
pub fn components(self, k: impl Into<String>, v: ComponentRequest) -> 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, ComponentRequest>>
) -> Self
pub fn set_components( self, input: Option<HashMap<String, ComponentRequest>> ) -> 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, ComponentRequest>>
pub fn get_components(&self) -> &Option<HashMap<String, ComponentRequest>>
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 entity's parent 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 entity's parent entity.
sourcepub fn get_parent_entity_id(&self) -> &Option<String>
pub fn get_parent_entity_id(&self) -> &Option<String>
The ID of the entity's parent entity.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Metadata that you can use to manage the entity.
Metadata that you can use to manage the entity.
Metadata that you can use to manage the entity.
Trait Implementations§
source§impl Clone for CreateEntityFluentBuilder
impl Clone for CreateEntityFluentBuilder
source§fn clone(&self) -> CreateEntityFluentBuilder
fn clone(&self) -> CreateEntityFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more