Interface DeleteOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeleteOperation.Builder,,DeleteOperation> SdkBuilder<DeleteOperation.Builder,,DeleteOperation> SdkPojo
- Enclosing class:
DeleteOperation
@Mutable
@NotThreadSafe
public static interface DeleteOperation.Builder
extends SdkPojo, CopyableBuilder<DeleteOperation.Builder,DeleteOperation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteOperation.Builderentity(Consumer<Entity.Builder> entity) The node or edge to remove.The node or edge to remove.properties(Map<String, AnyValue> properties) An edge delete requiresedgeType, which with the two node IDs names the edge.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
-
entity
The node or edge to remove.
- Parameters:
entity- The node or edge to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The node or edge to remove.
This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentity(Entity).- Parameters:
entity- a consumer that will call methods onEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
An edge delete requires
edgeType, which with the two node IDs names the edge. A node delete ignorespropertieson input, so a listed delete can be sent back. A property value over theMetadatainput limit (a long list property of the deleted node) is refused before it is ignored.ListChangeSetOperationsreturns the properties the entity had when the change was made: a node'snodeTypeandnodeName, an edge'sedgeType.- Parameters:
properties- An edge delete requiresedgeType, which with the two node IDs names the edge. A node delete ignorespropertieson input, so a listed delete can be sent back. A property value over theMetadatainput limit (a long list property of the deleted node) is refused before it is ignored.ListChangeSetOperationsreturns the properties the entity had when the change was made: a node'snodeTypeandnodeName, an edge'sedgeType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-