#[non_exhaustive]pub struct SearchCasesResponseItemBuilder { /* private fields */ }
Expand description
A builder for SearchCasesResponseItem
.
Implementations§
source§impl SearchCasesResponseItemBuilder
impl SearchCasesResponseItemBuilder
sourcepub fn set_case_id(self, input: Option<String>) -> Self
pub fn set_case_id(self, input: Option<String>) -> Self
A unique identifier of the case.
sourcepub fn get_case_id(&self) -> &Option<String>
pub fn get_case_id(&self) -> &Option<String>
A unique identifier of the case.
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
A unique identifier of a template.
sourcepub fn set_template_id(self, input: Option<String>) -> Self
pub fn set_template_id(self, input: Option<String>) -> Self
A unique identifier of a template.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
A unique identifier of a template.
sourcepub fn fields(self, input: FieldValue) -> Self
pub fn fields(self, input: FieldValue) -> Self
Appends an item to fields
.
To override the contents of this collection use set_fields
.
List of case field values.
sourcepub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
pub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
List of case field values.
sourcepub fn get_fields(&self) -> &Option<Vec<FieldValue>>
pub fn get_fields(&self) -> &Option<Vec<FieldValue>>
List of case field values.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
sourcepub fn build(self) -> SearchCasesResponseItem
pub fn build(self) -> SearchCasesResponseItem
Consumes the builder and constructs a SearchCasesResponseItem
.
Trait Implementations§
source§impl Clone for SearchCasesResponseItemBuilder
impl Clone for SearchCasesResponseItemBuilder
source§fn clone(&self) -> SearchCasesResponseItemBuilder
fn clone(&self) -> SearchCasesResponseItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SearchCasesResponseItemBuilder
impl Default for SearchCasesResponseItemBuilder
source§fn default() -> SearchCasesResponseItemBuilder
fn default() -> SearchCasesResponseItemBuilder
source§impl PartialEq for SearchCasesResponseItemBuilder
impl PartialEq for SearchCasesResponseItemBuilder
source§fn eq(&self, other: &SearchCasesResponseItemBuilder) -> bool
fn eq(&self, other: &SearchCasesResponseItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.