Class CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.CaseSlaConfigurationProperty>
- Enclosing interface:
CfnRulePropsMixin.CaseSlaConfigurationProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.CaseSlaConfigurationProperty>
A builder for
CfnRulePropsMixin.CaseSlaConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getFieldId()Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getName()targetFieldValues(List<? extends Object> targetFieldValues) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetFieldValues()targetFieldValues(IResolvable targetFieldValues) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetFieldValues()targetSlaMinutes(Number targetSlaMinutes) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetSlaMinutes()Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder fieldId(String fieldId) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getFieldId()- Parameters:
fieldId- The field Id for the SLA.- Returns:
this
-
name
Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getName()- Parameters:
name- The name of the SLA.- Returns:
this
-
targetFieldValues
@Stability(Stable) public CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder targetFieldValues(IResolvable targetFieldValues) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetFieldValues()- Parameters:
targetFieldValues- The target field values for the SLA.- Returns:
this
-
targetFieldValues
@Stability(Stable) public CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder targetFieldValues(List<? extends Object> targetFieldValues) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetFieldValues()- Parameters:
targetFieldValues- The target field values for the SLA.- Returns:
this
-
targetSlaMinutes
@Stability(Stable) public CfnRulePropsMixin.CaseSlaConfigurationProperty.Builder targetSlaMinutes(Number targetSlaMinutes) Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getTargetSlaMinutes()- Parameters:
targetSlaMinutes- The target SLA time in minutes.- Returns:
this
-
type
Sets the value ofCfnRulePropsMixin.CaseSlaConfigurationProperty.getType()- Parameters:
type- The type of SLA.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.CaseSlaConfigurationProperty>- Returns:
- a new instance of
CfnRulePropsMixin.CaseSlaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-