Class CfnTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cases.CfnTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplateMixinProps>
- Enclosing interface:
CfnTemplateMixinProps
@Stability(Stable)
public static final class CfnTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateMixinProps>
A builder for
CfnTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTemplateMixinProps.getDescription()Sets the value ofCfnTemplateMixinProps.getDomainId()layoutConfiguration(CfnTemplatePropsMixin.LayoutConfigurationProperty layoutConfiguration) Sets the value ofCfnTemplateMixinProps.getLayoutConfiguration()layoutConfiguration(IResolvable layoutConfiguration) Sets the value ofCfnTemplateMixinProps.getLayoutConfiguration()Sets the value ofCfnTemplateMixinProps.getName()requiredFields(List<? extends Object> requiredFields) Sets the value ofCfnTemplateMixinProps.getRequiredFields()requiredFields(IResolvable requiredFields) Sets the value ofCfnTemplateMixinProps.getRequiredFields()Sets the value ofCfnTemplateMixinProps.getRules()rules(IResolvable rules) Sets the value ofCfnTemplateMixinProps.getRules()Sets the value ofCfnTemplateMixinProps.getStatus()Sets the value ofCfnTemplateMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTemplateMixinProps.getDescription()- Parameters:
description- A brief description of the template.- Returns:
this
-
domainId
Sets the value ofCfnTemplateMixinProps.getDomainId()- Parameters:
domainId- The unique identifier of the Cases domain.- Returns:
this
-
layoutConfiguration
@Stability(Stable) public CfnTemplateMixinProps.Builder layoutConfiguration(IResolvable layoutConfiguration) Sets the value ofCfnTemplateMixinProps.getLayoutConfiguration()- Parameters:
layoutConfiguration- Object to store configuration of layouts associated to the template.- Returns:
this
-
layoutConfiguration
@Stability(Stable) public CfnTemplateMixinProps.Builder layoutConfiguration(CfnTemplatePropsMixin.LayoutConfigurationProperty layoutConfiguration) Sets the value ofCfnTemplateMixinProps.getLayoutConfiguration()- Parameters:
layoutConfiguration- Object to store configuration of layouts associated to the template.- Returns:
this
-
name
Sets the value ofCfnTemplateMixinProps.getName()- Parameters:
name- The template name.- Returns:
this
-
requiredFields
Sets the value ofCfnTemplateMixinProps.getRequiredFields()- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
this
-
requiredFields
@Stability(Stable) public CfnTemplateMixinProps.Builder requiredFields(List<? extends Object> requiredFields) Sets the value ofCfnTemplateMixinProps.getRequiredFields()- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
this
-
rules
Sets the value ofCfnTemplateMixinProps.getRules()- Parameters:
rules- A list of case rules (also known as case field conditions ) on a template.- Returns:
this
-
rules
Sets the value ofCfnTemplateMixinProps.getRules()- Parameters:
rules- A list of case rules (also known as case field conditions ) on a template.- Returns:
this
-
status
Sets the value ofCfnTemplateMixinProps.getStatus()- Parameters:
status- The status of the template.- Returns:
this
-
tags
Sets the value ofCfnTemplateMixinProps.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<CfnTemplateMixinProps>- Returns:
- a new instance of
CfnTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-