#[non_exhaustive]pub struct UpdateEntityInputBuilder { /* private fields */ }Expand description
A builder for UpdateEntityInput.
Implementations§
source§impl UpdateEntityInputBuilder
impl UpdateEntityInputBuilder
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.
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 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 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.
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 component_updates.
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 composite_component_updates.
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.
sourcepub fn build(self) -> Result<UpdateEntityInput, BuildError>
pub fn build(self) -> Result<UpdateEntityInput, BuildError>
Consumes the builder and constructs a UpdateEntityInput.
source§impl UpdateEntityInputBuilder
impl UpdateEntityInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateEntityOutput, SdkError<UpdateEntityError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateEntityOutput, SdkError<UpdateEntityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEntityInputBuilder
impl Clone for UpdateEntityInputBuilder
source§fn clone(&self) -> UpdateEntityInputBuilder
fn clone(&self) -> UpdateEntityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateEntityInputBuilder
impl Debug for UpdateEntityInputBuilder
source§impl Default for UpdateEntityInputBuilder
impl Default for UpdateEntityInputBuilder
source§fn default() -> UpdateEntityInputBuilder
fn default() -> UpdateEntityInputBuilder
source§impl PartialEq for UpdateEntityInputBuilder
impl PartialEq for UpdateEntityInputBuilder
impl StructuralPartialEq for UpdateEntityInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateEntityInputBuilder
impl RefUnwindSafe for UpdateEntityInputBuilder
impl Send for UpdateEntityInputBuilder
impl Sync for UpdateEntityInputBuilder
impl Unpin for UpdateEntityInputBuilder
impl UnwindSafe for UpdateEntityInputBuilder
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