Struct aws_sdk_connectcases::input::create_field_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateFieldInput
.
Implementations
sourceimpl Builder
impl Builder
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 type(self, input: FieldType) -> Self
pub fn type(self, input: FieldType) -> Self
Defines the data type, some system constraints, and default display of the field.
sourcepub fn set_type(self, input: Option<FieldType>) -> Self
pub fn set_type(self, input: Option<FieldType>) -> Self
Defines the data type, some system constraints, and default display of the field.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the field.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the field.
sourcepub fn build(self) -> Result<CreateFieldInput, BuildError>
pub fn build(self) -> Result<CreateFieldInput, BuildError>
Consumes the builder and constructs a CreateFieldInput
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more