Class CfnRule.AssignSlaActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.AssignSlaActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.AssignSlaActionProperty>
- Enclosing interface:
CfnRule.AssignSlaActionProperty
@Stability(Stable)
public static final class CfnRule.AssignSlaActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.AssignSlaActionProperty>
A builder for
CfnRule.AssignSlaActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.caseSlaConfiguration(IResolvable caseSlaConfiguration) Sets the value ofCfnRule.AssignSlaActionProperty.getCaseSlaConfiguration()caseSlaConfiguration(CfnRule.CaseSlaConfigurationProperty caseSlaConfiguration) Sets the value ofCfnRule.AssignSlaActionProperty.getCaseSlaConfiguration()slaAssignmentType(String slaAssignmentType) Sets the value ofCfnRule.AssignSlaActionProperty.getSlaAssignmentType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caseSlaConfiguration
@Stability(Stable) public CfnRule.AssignSlaActionProperty.Builder caseSlaConfiguration(IResolvable caseSlaConfiguration) Sets the value ofCfnRule.AssignSlaActionProperty.getCaseSlaConfiguration()- Parameters:
caseSlaConfiguration- The SLA configuration for cases. This parameter is required.- Returns:
this
-
caseSlaConfiguration
@Stability(Stable) public CfnRule.AssignSlaActionProperty.Builder caseSlaConfiguration(CfnRule.CaseSlaConfigurationProperty caseSlaConfiguration) Sets the value ofCfnRule.AssignSlaActionProperty.getCaseSlaConfiguration()- Parameters:
caseSlaConfiguration- The SLA configuration for cases. This parameter is required.- Returns:
this
-
slaAssignmentType
@Stability(Stable) public CfnRule.AssignSlaActionProperty.Builder slaAssignmentType(String slaAssignmentType) Sets the value ofCfnRule.AssignSlaActionProperty.getSlaAssignmentType()- Parameters:
slaAssignmentType- The type of SLA assignment. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRule.AssignSlaActionProperty>- Returns:
- a new instance of
CfnRule.AssignSlaActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-