Class CfnTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate>
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static final class CfnTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate>
A fluent builder for
CfnTemplate.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTemplate.Builderdescription(String description) A brief description of the template.The unique identifier of the Cases domain.layoutConfiguration(IResolvable layoutConfiguration) Object to store configuration of layouts associated to the template.layoutConfiguration(CfnTemplate.LayoutConfigurationProperty layoutConfiguration) Object to store configuration of layouts associated to the template.The template name.requiredFields(List<? extends Object> requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.requiredFields(IResolvable requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.A list of case rules (also known as case field conditions ) on a template.rules(IResolvable rules) A list of case rules (also known as case field conditions ) on a template.The status of the template.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTemplate.Builder.
-
name
The template name.- Parameters:
name- The template name. This parameter is required.- Returns:
this- See Also:
-
description
A brief description of the template.- Parameters:
description- A brief description of the template. This parameter is required.- Returns:
this- See Also:
-
domainId
The unique identifier of the Cases domain.- Parameters:
domainId- The unique identifier of the Cases domain. This parameter is required.- Returns:
this- See Also:
-
layoutConfiguration
Object to store configuration of layouts associated to the template.- Parameters:
layoutConfiguration- Object to store configuration of layouts associated to the template. This parameter is required.- Returns:
this- See Also:
-
layoutConfiguration
@Stability(Stable) public CfnTemplate.Builder layoutConfiguration(CfnTemplate.LayoutConfigurationProperty layoutConfiguration) Object to store configuration of layouts associated to the template.- Parameters:
layoutConfiguration- Object to store configuration of layouts associated to the template. This parameter is required.- Returns:
this- See Also:
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template. This parameter is required.- Returns:
this- See Also:
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template. This parameter is required.- Returns:
this- See Also:
-
rules
A list of case rules (also known as case field conditions ) on a template.- Parameters:
rules- A list of case rules (also known as case field conditions ) on a template. This parameter is required.- Returns:
this- See Also:
-
rules
A list of case rules (also known as case field conditions ) on a template.- Parameters:
rules- A list of case rules (also known as case field conditions ) on a template. This parameter is required.- Returns:
this- See Also:
-
status
The status of the template.- Parameters:
status- The status of the template. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate>- Returns:
- a newly built instance of
CfnTemplate.
-