#[non_exhaustive]pub struct CreateCaseInputBuilder { /* private fields */ }
Expand description
A builder for CreateCaseInput
.
Implementations§
source§impl CreateCaseInputBuilder
impl CreateCaseInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The unique identifier of the Cases domain.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier of the Cases domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The unique identifier of the Cases domain.
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
.
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
sourcepub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
pub fn set_fields(self, input: Option<Vec<FieldValue>>) -> Self
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
sourcepub fn get_fields(&self) -> &Option<Vec<FieldValue>>
pub fn get_fields(&self) -> &Option<Vec<FieldValue>>
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<CreateCaseInput, BuildError>
pub fn build(self) -> Result<CreateCaseInput, BuildError>
Consumes the builder and constructs a CreateCaseInput
.
source§impl CreateCaseInputBuilder
impl CreateCaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCaseOutput, SdkError<CreateCaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCaseOutput, SdkError<CreateCaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCaseInputBuilder
impl Clone for CreateCaseInputBuilder
source§fn clone(&self) -> CreateCaseInputBuilder
fn clone(&self) -> CreateCaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCaseInputBuilder
impl Debug for CreateCaseInputBuilder
source§impl Default for CreateCaseInputBuilder
impl Default for CreateCaseInputBuilder
source§fn default() -> CreateCaseInputBuilder
fn default() -> CreateCaseInputBuilder
source§impl PartialEq for CreateCaseInputBuilder
impl PartialEq for CreateCaseInputBuilder
source§fn eq(&self, other: &CreateCaseInputBuilder) -> bool
fn eq(&self, other: &CreateCaseInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.