Class CfnTemplatePropsMixin.TemplateRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cases.CfnTemplatePropsMixin.TemplateRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateRuleProperty>
- Enclosing interface:
CfnTemplatePropsMixin.TemplateRuleProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.TemplateRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateRuleProperty>
A builder for
CfnTemplatePropsMixin.TemplateRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.caseRuleId(String caseRuleId) Sets the value ofCfnTemplatePropsMixin.TemplateRuleProperty.getCaseRuleId()Sets the value ofCfnTemplatePropsMixin.TemplateRuleProperty.getFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caseRuleId
@Stability(Stable) public CfnTemplatePropsMixin.TemplateRuleProperty.Builder caseRuleId(String caseRuleId) Sets the value ofCfnTemplatePropsMixin.TemplateRuleProperty.getCaseRuleId()- Parameters:
caseRuleId- Unique identifier of a case rule.- Returns:
this
-
fieldId
@Stability(Stable) public CfnTemplatePropsMixin.TemplateRuleProperty.Builder fieldId(String fieldId) Sets the value ofCfnTemplatePropsMixin.TemplateRuleProperty.getFieldId()- Parameters:
fieldId- Unique identifier of a field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateRuleProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.TemplateRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-