Struct aws_sdk_gamelift::types::builders::AttributeValueBuilder
source · #[non_exhaustive]pub struct AttributeValueBuilder { /* private fields */ }Expand description
A builder for AttributeValue.
Implementations§
source§impl AttributeValueBuilder
impl AttributeValueBuilder
sourcepub fn s(self, input: impl Into<String>) -> Self
pub fn s(self, input: impl Into<String>) -> Self
For single string values. Maximum string length is 100 characters.
sourcepub fn set_s(self, input: Option<String>) -> Self
pub fn set_s(self, input: Option<String>) -> Self
For single string values. Maximum string length is 100 characters.
sourcepub fn get_s(&self) -> &Option<String>
pub fn get_s(&self) -> &Option<String>
For single string values. Maximum string length is 100 characters.
sourcepub fn sl(self, input: impl Into<String>) -> Self
pub fn sl(self, input: impl Into<String>) -> Self
Appends an item to sl.
To override the contents of this collection use set_sl.
For a list of up to 100 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
sourcepub fn set_sl(self, input: Option<Vec<String>>) -> Self
pub fn set_sl(self, input: Option<Vec<String>>) -> Self
For a list of up to 100 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
sourcepub fn get_sl(&self) -> &Option<Vec<String>>
pub fn get_sl(&self) -> &Option<Vec<String>>
For a list of up to 100 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
sourcepub fn sdm(self, k: impl Into<String>, v: f64) -> Self
pub fn sdm(self, k: impl Into<String>, v: f64) -> Self
Adds a key-value pair to sdm.
To override the contents of this collection use set_sdm.
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
sourcepub fn set_sdm(self, input: Option<HashMap<String, f64>>) -> Self
pub fn set_sdm(self, input: Option<HashMap<String, f64>>) -> Self
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
sourcepub fn get_sdm(&self) -> &Option<HashMap<String, f64>>
pub fn get_sdm(&self) -> &Option<HashMap<String, f64>>
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
sourcepub fn build(self) -> AttributeValue
pub fn build(self) -> AttributeValue
Consumes the builder and constructs a AttributeValue.
Trait Implementations§
source§impl Clone for AttributeValueBuilder
impl Clone for AttributeValueBuilder
source§fn clone(&self) -> AttributeValueBuilder
fn clone(&self) -> AttributeValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AttributeValueBuilder
impl Debug for AttributeValueBuilder
source§impl Default for AttributeValueBuilder
impl Default for AttributeValueBuilder
source§fn default() -> AttributeValueBuilder
fn default() -> AttributeValueBuilder
source§impl PartialEq for AttributeValueBuilder
impl PartialEq for AttributeValueBuilder
source§fn eq(&self, other: &AttributeValueBuilder) -> bool
fn eq(&self, other: &AttributeValueBuilder) -> bool
self and other values to be equal, and is used
by ==.