Interface MatchModels.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchModels.Builder,,MatchModels> SdkBuilder<MatchModels.Builder,,MatchModels> SdkPojo
- Enclosing class:
MatchModels
@Mutable
@NotThreadSafe
public static interface MatchModels.Builder
extends SdkPojo, CopyableBuilder<MatchModels.Builder,MatchModels>
-
Method Summary
Modifier and TypeMethodDescriptionanyOf(Collection<MatchModelEntry> anyOf) A list of model entries.anyOf(Consumer<MatchModelEntry.Builder>... anyOf) A list of model entries.anyOf(MatchModelEntry... anyOf) A list of model entries.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
anyOf
A list of model entries. The condition is met if the requested model matches any of the entries.
- Parameters:
anyOf- A list of model entries. The condition is met if the requested model matches any of the entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
A list of model entries. The condition is met if the requested model matches any of the entries.
- Parameters:
anyOf- A list of model entries. The condition is met if the requested model matches any of the entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
A list of model entries. The condition is met if the requested model matches any of the entries.
This is a convenience method that creates an instance of theMatchModelEntry.Builderavoiding the need to create one manually viaMatchModelEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanyOf(List<MatchModelEntry>).- Parameters:
anyOf- a consumer that will call methods onMatchModelEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-