#[non_exhaustive]pub struct CreateLayoutInputBuilder { /* private fields */ }
Expand description
A builder for CreateLayoutInput
.
Implementations§
source§impl CreateLayoutInputBuilder
impl CreateLayoutInputBuilder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the layout. It must be unique for the Cases domain.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the layout. It must be unique for the Cases domain.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the layout. It must be unique for the Cases domain.
sourcepub fn content(self, input: LayoutContent) -> Self
pub fn content(self, input: LayoutContent) -> Self
Information about which fields will be present in the layout, and information about the order of the fields.
sourcepub fn set_content(self, input: Option<LayoutContent>) -> Self
pub fn set_content(self, input: Option<LayoutContent>) -> Self
Information about which fields will be present in the layout, and information about the order of the fields.
sourcepub fn get_content(&self) -> &Option<LayoutContent>
pub fn get_content(&self) -> &Option<LayoutContent>
Information about which fields will be present in the layout, and information about the order of the fields.
sourcepub fn build(self) -> Result<CreateLayoutInput, BuildError>
pub fn build(self) -> Result<CreateLayoutInput, BuildError>
Consumes the builder and constructs a CreateLayoutInput
.
source§impl CreateLayoutInputBuilder
impl CreateLayoutInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLayoutInputBuilder
impl Clone for CreateLayoutInputBuilder
source§fn clone(&self) -> CreateLayoutInputBuilder
fn clone(&self) -> CreateLayoutInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLayoutInputBuilder
impl Debug for CreateLayoutInputBuilder
source§impl Default for CreateLayoutInputBuilder
impl Default for CreateLayoutInputBuilder
source§fn default() -> CreateLayoutInputBuilder
fn default() -> CreateLayoutInputBuilder
source§impl PartialEq for CreateLayoutInputBuilder
impl PartialEq for CreateLayoutInputBuilder
source§fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.