Interface OtaTaskAbortConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OtaTaskAbortConfig.Builder,
,OtaTaskAbortConfig> SdkBuilder<OtaTaskAbortConfig.Builder,
,OtaTaskAbortConfig> SdkPojo
- Enclosing class:
OtaTaskAbortConfig
@Mutable
@NotThreadSafe
public static interface OtaTaskAbortConfig.Builder
extends SdkPojo, CopyableBuilder<OtaTaskAbortConfig.Builder,OtaTaskAbortConfig>
-
Method Summary
Modifier and TypeMethodDescriptionabortConfigCriteriaList
(Collection<AbortConfigCriteria> abortConfigCriteriaList) The list of criteria for the abort config.abortConfigCriteriaList
(Consumer<AbortConfigCriteria.Builder>... abortConfigCriteriaList) The list of criteria for the abort config.abortConfigCriteriaList
(AbortConfigCriteria... abortConfigCriteriaList) The list of criteria for the abort config.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
-
abortConfigCriteriaList
OtaTaskAbortConfig.Builder abortConfigCriteriaList(Collection<AbortConfigCriteria> abortConfigCriteriaList) The list of criteria for the abort config.
- Parameters:
abortConfigCriteriaList
- The list of criteria for the abort config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfigCriteriaList
The list of criteria for the abort config.
- Parameters:
abortConfigCriteriaList
- The list of criteria for the abort config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfigCriteriaList
OtaTaskAbortConfig.Builder abortConfigCriteriaList(Consumer<AbortConfigCriteria.Builder>... abortConfigCriteriaList) The list of criteria for the abort config.
This is a convenience method that creates an instance of theAbortConfigCriteria.Builder
avoiding the need to create one manually viaAbortConfigCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortConfigCriteriaList(List<AbortConfigCriteria>)
.- Parameters:
abortConfigCriteriaList
- a consumer that will call methods onAbortConfigCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-