#[non_exhaustive]pub struct UpdateLayoutInputBuilder { /* private fields */ }
Expand description
A builder for UpdateLayoutInput
.
Implementations§
source§impl UpdateLayoutInputBuilder
impl UpdateLayoutInputBuilder
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.
sourcepub fn build(self) -> Result<UpdateLayoutInput, BuildError>
pub fn build(self) -> Result<UpdateLayoutInput, BuildError>
Consumes the builder and constructs a UpdateLayoutInput
.
source§impl UpdateLayoutInputBuilder
impl UpdateLayoutInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLayoutInputBuilder
impl Clone for UpdateLayoutInputBuilder
source§fn clone(&self) -> UpdateLayoutInputBuilder
fn clone(&self) -> UpdateLayoutInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateLayoutInputBuilder
impl Debug for UpdateLayoutInputBuilder
source§impl Default for UpdateLayoutInputBuilder
impl Default for UpdateLayoutInputBuilder
source§fn default() -> UpdateLayoutInputBuilder
fn default() -> UpdateLayoutInputBuilder
source§impl PartialEq for UpdateLayoutInputBuilder
impl PartialEq for UpdateLayoutInputBuilder
source§fn eq(&self, other: &UpdateLayoutInputBuilder) -> bool
fn eq(&self, other: &UpdateLayoutInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.