Interface MatchGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchGroup.Builder,,MatchGroup> SdkBuilder<MatchGroup.Builder,,MatchGroup> SdkPojo
- Enclosing class:
MatchGroup
@Mutable
@NotThreadSafe
public static interface MatchGroup.Builder
extends SdkPojo, CopyableBuilder<MatchGroup.Builder,MatchGroup>
-
Method Summary
Modifier and TypeMethodDescriptionThe match ID.The match rule of the match group.records(Collection<MatchedRecord> records) The matched records.records(Consumer<MatchedRecord.Builder>... records) The matched records.records(MatchedRecord... records) The matched records.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
-
records
The matched records.
- Parameters:
records- The matched records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
The matched records.
- Parameters:
records- The matched records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
The matched records.
This is a convenience method that creates an instance of theMatchedRecord.Builderavoiding the need to create one manually viaMatchedRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecords(List<MatchedRecord>).- Parameters:
records- a consumer that will call methods onMatchedRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchId
The match ID.
- Parameters:
matchId- The match ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchRule
The match rule of the match group.
- Parameters:
matchRule- The match rule of the match group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-