pub struct UpdateEntityFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateEntity.
Updates an entity.
Implementations§
source§impl UpdateEntityFluentBuilder
impl UpdateEntityFluentBuilder
sourcepub fn as_input(&self) -> &UpdateEntityInputBuilder
pub fn as_input(&self) -> &UpdateEntityInputBuilder
Access the UpdateEntity as a reference.
sourcepub async fn send(
self
) -> Result<UpdateEntityOutput, SdkError<UpdateEntityError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateEntityOutput, SdkError<UpdateEntityError, 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<UpdateEntityOutput, UpdateEntityError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateEntityOutput, UpdateEntityError, 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 component_updates(
self,
k: impl Into<String>,
v: ComponentUpdateRequest
) -> Self
pub fn component_updates( self, k: impl Into<String>, v: ComponentUpdateRequest ) -> Self
Adds a key-value pair to componentUpdates.
To override the contents of this collection use set_component_updates.
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
sourcepub fn set_component_updates(
self,
input: Option<HashMap<String, ComponentUpdateRequest>>
) -> Self
pub fn set_component_updates( self, input: Option<HashMap<String, ComponentUpdateRequest>> ) -> Self
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
sourcepub fn get_component_updates(
&self
) -> &Option<HashMap<String, ComponentUpdateRequest>>
pub fn get_component_updates( &self ) -> &Option<HashMap<String, ComponentUpdateRequest>>
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
sourcepub fn parent_entity_update(self, input: ParentEntityUpdateRequest) -> Self
pub fn parent_entity_update(self, input: ParentEntityUpdateRequest) -> Self
An object that describes the update request for a parent entity.
sourcepub fn set_parent_entity_update(
self,
input: Option<ParentEntityUpdateRequest>
) -> Self
pub fn set_parent_entity_update( self, input: Option<ParentEntityUpdateRequest> ) -> Self
An object that describes the update request for a parent entity.
sourcepub fn get_parent_entity_update(&self) -> &Option<ParentEntityUpdateRequest>
pub fn get_parent_entity_update(&self) -> &Option<ParentEntityUpdateRequest>
An object that describes the update request for a parent entity.
Trait Implementations§
source§impl Clone for UpdateEntityFluentBuilder
impl Clone for UpdateEntityFluentBuilder
source§fn clone(&self) -> UpdateEntityFluentBuilder
fn clone(&self) -> UpdateEntityFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more