Class CfnLayoutProps.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnLayoutProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLayoutProps>
- Enclosing interface:
CfnLayoutProps
@Stability(Stable)
public static final class CfnLayoutProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayoutProps>
A builder for
CfnLayoutProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.content(IResolvable content) Sets the value ofCfnLayoutProps.getContent()content(CfnLayout.LayoutContentProperty content) Sets the value ofCfnLayoutProps.getContent()Sets the value ofCfnLayoutProps.getDomainId()Sets the value ofCfnLayoutProps.getName()Sets the value ofCfnLayoutProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnLayoutProps.getContent()- Parameters:
content- Object to store union of different versions of layout content. This parameter is required.- Returns:
this
-
content
Sets the value ofCfnLayoutProps.getContent()- Parameters:
content- Object to store union of different versions of layout content. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnLayoutProps.getName()- Parameters:
name- The name of the layout. This parameter is required.- Returns:
this
-
domainId
Sets the value ofCfnLayoutProps.getDomainId()- Parameters:
domainId- The unique identifier of the Cases domain.- Returns:
this
-
tags
Sets the value ofCfnLayoutProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLayoutProps>- Returns:
- a new instance of
CfnLayoutProps - Throws:
NullPointerException- if any required attribute was not provided
-