Struct aws_sdk_connectcases::client::fluent_builders::CreateLayout
source · [−]pub struct CreateLayout { /* 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
sourceimpl CreateLayout
impl CreateLayout
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateLayout, AwsResponseRetryClassifier>, SdkError<CreateLayoutError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateLayout, AwsResponseRetryClassifier>, SdkError<CreateLayoutError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError>>
pub async fn send(
self
) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError>>
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 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 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 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.
Trait Implementations
sourceimpl Clone for CreateLayout
impl Clone for CreateLayout
sourcefn clone(&self) -> CreateLayout
fn clone(&self) -> CreateLayout
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more