Struct aws_sdk_batch::types::builders::KeyValuesPairBuilder
source · #[non_exhaustive]pub struct KeyValuesPairBuilder { /* private fields */ }
Expand description
A builder for KeyValuesPair
.
Implementations§
source§impl KeyValuesPairBuilder
impl KeyValuesPairBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the filter. Filter names are case sensitive.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the filter. Filter names are case sensitive.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the filter. Filter names are case sensitive.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The filter values.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The filter values.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The filter values.
sourcepub fn build(self) -> KeyValuesPair
pub fn build(self) -> KeyValuesPair
Consumes the builder and constructs a KeyValuesPair
.
Trait Implementations§
source§impl Clone for KeyValuesPairBuilder
impl Clone for KeyValuesPairBuilder
source§fn clone(&self) -> KeyValuesPairBuilder
fn clone(&self) -> KeyValuesPairBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyValuesPairBuilder
impl Debug for KeyValuesPairBuilder
source§impl Default for KeyValuesPairBuilder
impl Default for KeyValuesPairBuilder
source§fn default() -> KeyValuesPairBuilder
fn default() -> KeyValuesPairBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<KeyValuesPairBuilder> for KeyValuesPairBuilder
impl PartialEq<KeyValuesPairBuilder> for KeyValuesPairBuilder
source§fn eq(&self, other: &KeyValuesPairBuilder) -> bool
fn eq(&self, other: &KeyValuesPairBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyValuesPairBuilder
Auto Trait Implementations§
impl RefUnwindSafe for KeyValuesPairBuilder
impl Send for KeyValuesPairBuilder
impl Sync for KeyValuesPairBuilder
impl Unpin for KeyValuesPairBuilder
impl UnwindSafe for KeyValuesPairBuilder
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
Mutably borrows from an owned value. Read more