Interface CaseSlaConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CaseSlaConfiguration.Builder,
,CaseSlaConfiguration> SdkBuilder<CaseSlaConfiguration.Builder,
,CaseSlaConfiguration> SdkPojo
- Enclosing class:
CaseSlaConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier of a Case field.Name of an SLA.targetFieldValues
(Collection<FieldValueUnion> targetFieldValues) Represents a list of target field values for the fieldId specified in CaseSlaConfiguration.targetFieldValues
(Consumer<FieldValueUnion.Builder>... targetFieldValues) Represents a list of target field values for the fieldId specified in CaseSlaConfiguration.targetFieldValues
(FieldValueUnion... targetFieldValues) Represents a list of target field values for the fieldId specified in CaseSlaConfiguration.targetSlaMinutes
(Long targetSlaMinutes) Target duration in minutes within which an SLA should be completed.Type of SLA for Case SlaAssignmentType.Type of SLA for Case SlaAssignmentType.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Name of an SLA.
- Parameters:
name
- Name of an SLA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Type of SLA for Case SlaAssignmentType.
- Parameters:
type
- Type of SLA for Case SlaAssignmentType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of SLA for Case SlaAssignmentType.
- Parameters:
type
- Type of SLA for Case SlaAssignmentType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldId
Unique identifier of a Case field.
- Parameters:
fieldId
- Unique identifier of a Case field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFieldValues
Represents a list of target field values for the fieldId specified in CaseSlaConfiguration. The SLA is considered met if any one of these target field values matches the actual field value.
- Parameters:
targetFieldValues
- Represents a list of target field values for the fieldId specified in CaseSlaConfiguration. The SLA is considered met if any one of these target field values matches the actual field value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFieldValues
Represents a list of target field values for the fieldId specified in CaseSlaConfiguration. The SLA is considered met if any one of these target field values matches the actual field value.
- Parameters:
targetFieldValues
- Represents a list of target field values for the fieldId specified in CaseSlaConfiguration. The SLA is considered met if any one of these target field values matches the actual field value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFieldValues
CaseSlaConfiguration.Builder targetFieldValues(Consumer<FieldValueUnion.Builder>... targetFieldValues) Represents a list of target field values for the fieldId specified in CaseSlaConfiguration. The SLA is considered met if any one of these target field values matches the actual field value.
This is a convenience method that creates an instance of theFieldValueUnion.Builder
avoiding the need to create one manually viaFieldValueUnion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetFieldValues(List<FieldValueUnion>)
.- Parameters:
targetFieldValues
- a consumer that will call methods onFieldValueUnion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetSlaMinutes
Target duration in minutes within which an SLA should be completed.
- Parameters:
targetSlaMinutes
- Target duration in minutes within which an SLA should be completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-