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 ==.impl StructuralPartialEq for BatchPutPropertyValuesInputBuilder
Auto Trait Implementations§
impl Freeze for BatchPutPropertyValuesInputBuilder
impl RefUnwindSafe for BatchPutPropertyValuesInputBuilder
impl Send for BatchPutPropertyValuesInputBuilder
impl Sync for BatchPutPropertyValuesInputBuilder
impl Unpin for BatchPutPropertyValuesInputBuilder
impl UnwindSafe for BatchPutPropertyValuesInputBuilder
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