Interface UpdateOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateOperation.Builder,,UpdateOperation> SdkBuilder<UpdateOperation.Builder,,UpdateOperation> SdkPojo
- Enclosing class:
UpdateOperation
@Mutable
@NotThreadSafe
public static interface UpdateOperation.Builder
extends SdkPojo, CopyableBuilder<UpdateOperation.Builder,UpdateOperation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateOperation.Builderentity(Consumer<Entity.Builder> entity) The node or edge to change.The node or edge to change.properties(Map<String, AnyValue> properties) The properties to set, up to 50.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 change. A node's ID is built from its
nodeTypeand identity properties, soentity.nodeIdis a placeholder that must differ for each node in one write.- Parameters:
entity- The node or edge to change. A node's ID is built from itsnodeTypeand identity properties, soentity.nodeIdis a placeholder that must differ for each node in one write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The node or edge to change. A node's ID is built from its
This is a convenience method that creates an instance of thenodeTypeand identity properties, soentity.nodeIdis a placeholder that must differ for each node in one write.Entity.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
The properties to set, up to 50.
{}when there are none.ListChangeSetOperationslists them as it lists those ofPutOperation.- Parameters:
properties- The properties to set, up to 50.{}when there are none.ListChangeSetOperationslists them as it lists those ofPutOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-