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