Interface SlaConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SlaConfiguration.Builder,
,SlaConfiguration> SdkBuilder<SlaConfiguration.Builder,
,SlaConfiguration> SdkPojo
- Enclosing class:
SlaConfiguration
@Mutable
@NotThreadSafe
public static interface SlaConfiguration.Builder
extends SdkPojo, CopyableBuilder<SlaConfiguration.Builder,SlaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime
(Instant completionTime) Time at which an SLA was completed.Unique identifier of a field.Name of an SLA.Status of an SLA.Status of an SLA.targetFieldValues
(Collection<FieldValueUnion> targetFieldValues) Represents a list of target field values for the fieldId specified in SlaConfiguration.targetFieldValues
(Consumer<FieldValueUnion.Builder>... targetFieldValues) Represents a list of target field values for the fieldId specified in SlaConfiguration.targetFieldValues
(FieldValueUnion... targetFieldValues) Represents a list of target field values for the fieldId specified in SlaConfiguration.targetTime
(Instant targetTime) Target time by 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
-
completionTime
Time at which an SLA was completed.
- Parameters:
completionTime
- Time at which an SLA was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
status
Status of an SLA.
- Parameters:
status
- Status of an SLA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of an SLA.
- Parameters:
status
- Status of an SLA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetFieldValues
Represents a list of target field values for the fieldId specified in SlaConfiguration.
- Parameters:
targetFieldValues
- Represents a list of target field values for the fieldId specified in SlaConfiguration.- 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 SlaConfiguration.
- Parameters:
targetFieldValues
- Represents a list of target field values for the fieldId specified in SlaConfiguration.- 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 SlaConfiguration.
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:
-
targetTime
Target time by which an SLA should be completed.
- Parameters:
targetTime
- Target time by 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:
-