Interface MatchClause.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchClause.Builder,,MatchClause> SdkBuilder<MatchClause.Builder,,MatchClause> SdkPojo
- Enclosing class:
MatchClause
@Mutable
@NotThreadSafe
public static interface MatchClause.Builder
extends SdkPojo, CopyableBuilder<MatchClause.Builder,MatchClause>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchClause.BuilderentityPattern(Consumer<EntityPattern.Builder> entityPattern) The pattern describing the entities for the query to traverse.entityPattern(EntityPattern entityPattern) The pattern describing the entities for the query to traverse.default MatchClause.BuilderrelationPattern(Consumer<RelationPattern.Builder> relationPattern) The pattern describing the query's relational traversal.relationPattern(RelationPattern relationPattern) The pattern describing the query's relational traversal.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
-
relationPattern
The pattern describing the query's relational traversal.
- Parameters:
relationPattern- The pattern describing the query's relational traversal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationPattern
The pattern describing the query's relational traversal.
This is a convenience method that creates an instance of theRelationPattern.Builderavoiding the need to create one manually viaRelationPattern.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torelationPattern(RelationPattern).- Parameters:
relationPattern- a consumer that will call methods onRelationPattern.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityPattern
The pattern describing the entities for the query to traverse.
- Parameters:
entityPattern- The pattern describing the entities for the query to traverse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityPattern
The pattern describing the entities for the query to traverse.
This is a convenience method that creates an instance of theEntityPattern.Builderavoiding the need to create one manually viaEntityPattern.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityPattern(EntityPattern).- Parameters:
entityPattern- a consumer that will call methods onEntityPattern.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-