Class CfnCaseRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnCaseRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCaseRuleProps>
- Enclosing interface:
CfnCaseRuleProps
@Stability(Stable)
public static final class CfnCaseRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCaseRuleProps>
A builder for
CfnCaseRuleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnCaseRuleProps.getDescription()Sets the value ofCfnCaseRuleProps.getDomainId()Sets the value ofCfnCaseRuleProps.getName()rule(IResolvable rule) Sets the value ofCfnCaseRuleProps.getRule()Sets the value ofCfnCaseRuleProps.getRule()Sets the value ofCfnCaseRuleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnCaseRuleProps.getName()- Parameters:
name- Name of the case rule. This parameter is required.- Returns:
this
-
rule
Sets the value ofCfnCaseRuleProps.getRule()- Parameters:
rule- Represents what rule type should take place, under what conditions. This parameter is required.- Returns:
this
-
rule
Sets the value ofCfnCaseRuleProps.getRule()- Parameters:
rule- Represents what rule type should take place, under what conditions. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnCaseRuleProps.getDescription()- Parameters:
description- Description of a case rule.- Returns:
this
-
domainId
Sets the value ofCfnCaseRuleProps.getDomainId()- Parameters:
domainId- Unique identifier of a Cases domain.- Returns:
this
-
tags
Sets the value ofCfnCaseRuleProps.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<CfnCaseRuleProps>- Returns:
- a new instance of
CfnCaseRuleProps - Throws:
NullPointerException- if any required attribute was not provided
-