#[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 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
source§fn eq(&self, other: &UpdateEntityInputBuilder) -> bool
fn eq(&self, other: &UpdateEntityInputBuilder) -> bool
self and other values to be equal, and is used
by ==.