pub struct UpdateLayoutFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateLayout
.
Updates the attributes of an existing layout.
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
A ValidationException
is returned when you add non-existent fieldIds
to a layout.
Title and Status fields cannot be part of layouts because they are not configurable.
Implementations§
source§impl UpdateLayoutFluentBuilder
impl UpdateLayoutFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLayoutInputBuilder
pub fn as_input(&self) -> &UpdateLayoutInputBuilder
Access the UpdateLayout as a reference.
sourcepub async fn send(
self
) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, 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<UpdateLayoutOutput, UpdateLayoutError, Self>, SdkError<UpdateLayoutError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateLayoutOutput, UpdateLayoutError, Self>, SdkError<UpdateLayoutError>>
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 set_layout_id(self, input: Option<String>) -> Self
pub fn set_layout_id(self, input: Option<String>) -> Self
The unique identifier of the layout.
sourcepub fn get_layout_id(&self) -> &Option<String>
pub fn get_layout_id(&self) -> &Option<String>
The unique identifier of the layout.
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 per 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 per domain.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the layout. It must be unique per 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, the order of the fields, and a read-only attribute of the field.
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, the order of the fields, and a read-only attribute of the field.
sourcepub fn get_content(&self) -> &Option<LayoutContent>
pub fn get_content(&self) -> &Option<LayoutContent>
Information about which fields will be present in the layout, the order of the fields, and a read-only attribute of the field.
Trait Implementations§
source§impl Clone for UpdateLayoutFluentBuilder
impl Clone for UpdateLayoutFluentBuilder
source§fn clone(&self) -> UpdateLayoutFluentBuilder
fn clone(&self) -> UpdateLayoutFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more