#[non_exhaustive]pub struct CreateCaseOutputBuilder { /* private fields */ }Expand description
A builder for CreateCaseOutput.
Implementations§
source§impl CreateCaseOutputBuilder
impl CreateCaseOutputBuilder
sourcepub fn case_id(self, input: impl Into<String>) -> Self
pub fn case_id(self, input: impl Into<String>) -> Self
A unique identifier of the case.
This field is required.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 case_arn(self, input: impl Into<String>) -> Self
pub fn case_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the case.
This field is required.sourcepub fn set_case_arn(self, input: Option<String>) -> Self
pub fn set_case_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the case.
sourcepub fn get_case_arn(&self) -> &Option<String>
pub fn get_case_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the case.
sourcepub fn build(self) -> Result<CreateCaseOutput, BuildError>
pub fn build(self) -> Result<CreateCaseOutput, BuildError>
Consumes the builder and constructs a CreateCaseOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateCaseOutputBuilder
impl Clone for CreateCaseOutputBuilder
source§fn clone(&self) -> CreateCaseOutputBuilder
fn clone(&self) -> CreateCaseOutputBuilder
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 CreateCaseOutputBuilder
impl Debug for CreateCaseOutputBuilder
source§impl Default for CreateCaseOutputBuilder
impl Default for CreateCaseOutputBuilder
source§fn default() -> CreateCaseOutputBuilder
fn default() -> CreateCaseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateCaseOutputBuilder
impl PartialEq for CreateCaseOutputBuilder
source§fn eq(&self, other: &CreateCaseOutputBuilder) -> bool
fn eq(&self, other: &CreateCaseOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateCaseOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateCaseOutputBuilder
impl RefUnwindSafe for CreateCaseOutputBuilder
impl Send for CreateCaseOutputBuilder
impl Sync for CreateCaseOutputBuilder
impl Unpin for CreateCaseOutputBuilder
impl UnwindSafe for CreateCaseOutputBuilder
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
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>
Creates a shared type from an unshared type.