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 composite_component_updates(
self,
k: impl Into<String>,
v: CompositeComponentUpdateRequest,
) -> Self
pub fn composite_component_updates( self, k: impl Into<String>, v: CompositeComponentUpdateRequest, ) -> Self
Adds a key-value pair to compositeComponentUpdates.
To override the contents of this collection use set_composite_component_updates.
This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.
sourcepub fn set_composite_component_updates(
self,
input: Option<HashMap<String, CompositeComponentUpdateRequest>>,
) -> Self
pub fn set_composite_component_updates( self, input: Option<HashMap<String, CompositeComponentUpdateRequest>>, ) -> Self
This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.
sourcepub fn get_composite_component_updates(
&self,
) -> &Option<HashMap<String, CompositeComponentUpdateRequest>>
pub fn get_composite_component_updates( &self, ) -> &Option<HashMap<String, CompositeComponentUpdateRequest>>
This is an object that maps strings to compositeComponent updates in the request. Each key of the map represents the componentPath of the compositeComponent.
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 moreAuto Trait Implementations§
impl Freeze for UpdateEntityFluentBuilder
impl !RefUnwindSafe for UpdateEntityFluentBuilder
impl Send for UpdateEntityFluentBuilder
impl Sync for UpdateEntityFluentBuilder
impl Unpin for UpdateEntityFluentBuilder
impl !UnwindSafe for UpdateEntityFluentBuilder
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