Interface ChangeSetOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChangeSetOperation.Builder,,ChangeSetOperation> SdkBuilder<ChangeSetOperation.Builder,,ChangeSetOperation> SdkPojo
- Enclosing class:
ChangeSetOperation
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeSetOperation.Builderdelete(Consumer<DeleteOperation.Builder> delete) Removes a node or edge.delete(DeleteOperation delete) Removes a node or edge.default ChangeSetOperation.Builderput(Consumer<PutOperation.Builder> put) Writes a node or edge in full.put(PutOperation put) Writes a node or edge in full.default ChangeSetOperation.Builderupdate(Consumer<UpdateOperation.Builder> update) Changes the properties of a node or edge.update(UpdateOperation update) Changes the properties of a node or 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
-
put
Writes a node or edge in full. Creates it if it does not exist.
- Parameters:
put- Writes a node or edge in full. Creates it if it does not exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
put
Writes a node or edge in full. Creates it if it does not exist.
This is a convenience method that creates an instance of thePutOperation.Builderavoiding the need to create one manually viaPutOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toput(PutOperation).- Parameters:
put- a consumer that will call methods onPutOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
update
Changes the properties of a node or edge. Like
put, it creates a node that doesn't exist, and every reader of the agent context can read the node unless the request specifiesaccessControlConfig.- Parameters:
update- Changes the properties of a node or edge. Likeput, it creates a node that doesn't exist, and every reader of the agent context can read the node unless the request specifiesaccessControlConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
Changes the properties of a node or edge. Like
This is a convenience method that creates an instance of theput, it creates a node that doesn't exist, and every reader of the agent context can read the node unless the request specifiesaccessControlConfig.UpdateOperation.Builderavoiding the need to create one manually viaUpdateOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdate(UpdateOperation).- Parameters:
update- a consumer that will call methods onUpdateOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
Removes a node or edge. A deleted node takes its unowned edges.
- Parameters:
delete- Removes a node or edge. A deleted node takes its unowned edges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
Removes a node or edge. A deleted node takes its unowned edges.
This is a convenience method that creates an instance of theDeleteOperation.Builderavoiding the need to create one manually viaDeleteOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(DeleteOperation).- Parameters:
delete- a consumer that will call methods onDeleteOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-