Struct aws_sdk_iottwinmaker::operation::batch_put_property_values::builders::BatchPutPropertyValuesInputBuilder
source · #[non_exhaustive]pub struct BatchPutPropertyValuesInputBuilder { /* private fields */ }Expand description
A builder for BatchPutPropertyValuesInput.
Implementations§
source§impl BatchPutPropertyValuesInputBuilder
impl BatchPutPropertyValuesInputBuilder
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 properties to set.
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 properties to set.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace that contains the properties to set.
sourcepub fn entries(self, input: PropertyValueEntry) -> Self
pub fn entries(self, input: PropertyValueEntry) -> Self
Appends an item to entries.
To override the contents of this collection use set_entries.
An object that maps strings to the property value entries to set. Each string in the mapping must be unique to this object.
sourcepub fn set_entries(self, input: Option<Vec<PropertyValueEntry>>) -> Self
pub fn set_entries(self, input: Option<Vec<PropertyValueEntry>>) -> Self
An object that maps strings to the property value entries to set. Each string in the mapping must be unique to this object.
sourcepub fn get_entries(&self) -> &Option<Vec<PropertyValueEntry>>
pub fn get_entries(&self) -> &Option<Vec<PropertyValueEntry>>
An object that maps strings to the property value entries to set. Each string in the mapping must be unique to this object.
sourcepub fn build(self) -> Result<BatchPutPropertyValuesInput, BuildError>
pub fn build(self) -> Result<BatchPutPropertyValuesInput, BuildError>
Consumes the builder and constructs a BatchPutPropertyValuesInput.
source§impl BatchPutPropertyValuesInputBuilder
impl BatchPutPropertyValuesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchPutPropertyValuesOutput, SdkError<BatchPutPropertyValuesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchPutPropertyValuesOutput, SdkError<BatchPutPropertyValuesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchPutPropertyValuesInputBuilder
impl Clone for BatchPutPropertyValuesInputBuilder
source§fn clone(&self) -> BatchPutPropertyValuesInputBuilder
fn clone(&self) -> BatchPutPropertyValuesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchPutPropertyValuesInputBuilder
impl Default for BatchPutPropertyValuesInputBuilder
source§fn default() -> BatchPutPropertyValuesInputBuilder
fn default() -> BatchPutPropertyValuesInputBuilder
source§impl PartialEq for BatchPutPropertyValuesInputBuilder
impl PartialEq for BatchPutPropertyValuesInputBuilder
source§fn eq(&self, other: &BatchPutPropertyValuesInputBuilder) -> bool
fn eq(&self, other: &BatchPutPropertyValuesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.