Interface SlaInputConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SlaInputConfiguration.Builder,
,SlaInputConfiguration> SdkBuilder<SlaInputConfiguration.Builder,
,SlaInputConfiguration> SdkPojo
- Enclosing class:
SlaInputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier of a field.Name of an SLA.targetFieldValues
(Collection<FieldValueUnion> targetFieldValues) Represents a list of target field values for the fieldId specified in SlaInputConfiguration.targetFieldValues
(Consumer<FieldValueUnion.Builder>... targetFieldValues) Represents a list of target field values for the fieldId specified in SlaInputConfiguration.targetFieldValues
(FieldValueUnion... targetFieldValues) Represents a list of target field values for the fieldId specified in SlaInputConfiguration.targetSlaMinutes
(Long targetSlaMinutes) Target duration in minutes within which an SLA should be completed.Type of SLA.Type of SLA.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
-
fieldId
Unique identifier of a field.
- Parameters:
fieldId
- Unique identifier of a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
targetFieldValues
Represents a list of target field values for the fieldId specified in SlaInputConfiguration. 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 SlaInputConfiguration. 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 SlaInputConfiguration. 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 SlaInputConfiguration. 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
SlaInputConfiguration.Builder targetFieldValues(Consumer<FieldValueUnion.Builder>... targetFieldValues) Represents a list of target field values for the fieldId specified in SlaInputConfiguration. 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.
-
type
Type of SLA.
- Parameters:
type
- Type of SLA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of SLA.
- Parameters:
type
- Type of SLA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-