Interface EntityPattern.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityPattern.Builder,,EntityPattern> SdkBuilder<EntityPattern.Builder,,EntityPattern> SdkPojo
- Enclosing class:
EntityPattern
@Mutable
@NotThreadSafe
public static interface EntityPattern.Builder
extends SdkPojo, CopyableBuilder<EntityPattern.Builder,EntityPattern>
-
Method Summary
Modifier and TypeMethodDescriptionentityType(String entityType) The type of entity to be matched during the graph query.entityType(GraphEntityType entityType) The type of entity to be matched during the graph query.default EntityPattern.Builderfilters(Consumer<FilterClause.Builder> filters) Sets the value of the Filters property for this object.filters(FilterClause filters) Sets the value of the Filters property for this object.identifier(String identifier) The identifier of the root entity to start traversal from during the graph query.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
-
entityType
The type of entity to be matched during the graph query.
- Parameters:
entityType- The type of entity to be matched during the graph query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The type of entity to be matched during the graph query.
- Parameters:
entityType- The type of entity to be matched during the graph query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identifier
The identifier of the root entity to start traversal from during the graph query.
- Parameters:
identifier- The identifier of the root entity to start traversal from during the graph query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Sets the value of the Filters property for this object.- Parameters:
filters- The new value for the Filters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Sets the value of the Filters property for this object. This is a convenience method that creates an instance of theFilterClause.Builderavoiding the need to create one manually viaFilterClause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(FilterClause).- Parameters:
filters- a consumer that will call methods onFilterClause.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-