pub struct CreateLayoutFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateLayout
.
Creates a layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface:
-
Fields to display to the users
-
Field ordering
Title and Status fields cannot be part of layouts since they are not configurable.
Implementations§
source§impl CreateLayoutFluentBuilder
impl CreateLayoutFluentBuilder
sourcepub fn as_input(&self) -> &CreateLayoutInputBuilder
pub fn as_input(&self) -> &CreateLayoutInputBuilder
Access the CreateLayout as a reference.
sourcepub async fn send(
self
) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
pub async fn send( self ) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateLayoutOutput, CreateLayoutError, Self>, SdkError<CreateLayoutError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateLayoutOutput, CreateLayoutError, Self>, SdkError<CreateLayoutError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for CreateLayoutFluentBuilder
impl Clone for CreateLayoutFluentBuilder
source§fn clone(&self) -> CreateLayoutFluentBuilder
fn clone(&self) -> CreateLayoutFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more