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