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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
recordsThe matched records. - Parameters:
- records- The matched records.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
recordsThe matched records. - Parameters:
- records- The matched records.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
recordsThe 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 on- MatchedRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
matchIdThe match ID. - Parameters:
- matchId- The match ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
matchRuleThe 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.
 
 
-