Class CfnRule.CreateCaseActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.CreateCaseActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.CreateCaseActionProperty>
- Enclosing interface:
CfnRule.CreateCaseActionProperty
@Stability(Stable)
public static final class CfnRule.CreateCaseActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.CreateCaseActionProperty>
A builder for
CfnRule.CreateCaseActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRule.CreateCaseActionProperty.getFields()fields(IResolvable fields) Sets the value ofCfnRule.CreateCaseActionProperty.getFields()templateId(String templateId) Sets the value ofCfnRule.CreateCaseActionProperty.getTemplateId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Sets the value ofCfnRule.CreateCaseActionProperty.getFields()- Parameters:
fields- An array of case fields. This parameter is required.- Returns:
this
-
fields
@Stability(Stable) public CfnRule.CreateCaseActionProperty.Builder fields(List<? extends Object> fields) Sets the value ofCfnRule.CreateCaseActionProperty.getFields()- Parameters:
fields- An array of case fields. This parameter is required.- Returns:
this
-
templateId
Sets the value ofCfnRule.CreateCaseActionProperty.getTemplateId()- Parameters:
templateId- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRule.CreateCaseActionProperty>- Returns:
- a new instance of
CfnRule.CreateCaseActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-