Interface PutOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PutOperation.Builder,,PutOperation> SdkBuilder<PutOperation.Builder,,PutOperation> SdkPojo
- Enclosing class:
PutOperation
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutOperation.Builderentity(Consumer<Entity.Builder> entity) Names the edge to write inentity.edgeId.Names the edge to write inentity.edgeId.properties(Map<String, AnyValue> properties) Up to 50 properties.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
Names the edge to write in
entity.edgeId. Required for an edge. Omit it to write a node: a node's ID comes from its properties, so AWS Context ignoresentity.nodeId.ListChangeSetOperationsreturns a node put'sentity.nodeIdas a placeholder of the form~operations/<index>, which isn't the node's ID in the agent context.- Parameters:
entity- Names the edge to write inentity.edgeId. Required for an edge. Omit it to write a node: a node's ID comes from its properties, so AWS Context ignoresentity.nodeId.ListChangeSetOperationsreturns a node put'sentity.nodeIdas a placeholder of the form~operations/<index>, which isn't the node's ID in the agent context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
Names the edge to write in
This is a convenience method that creates an instance of theentity.edgeId. Required for an edge. Omit it to write a node: a node's ID comes from its properties, so AWS Context ignoresentity.nodeId.ListChangeSetOperationsreturns a node put'sentity.nodeIdas a placeholder of the form~operations/<index>, which isn't the node's ID in the agent context.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
Up to 50 properties.
{}when there are none. A node requiresnodeType. An edge requiresedgeType.ListChangeSetOperationsreturns the operation's properties as stored, plusedgeTypeon an edge and the recordednodeType/nodeNameon a node (a writtennodeType, or a name undernodeName,name,titleordisplayName, wins), in key order after those. AWS Context doesn't list stored keys that aren't customer content (aws:*,~*, and an edge's identity keys), or a property cut by the 50-entry cap.UpdateChangeSetcannot remove such an item.- Parameters:
properties- Up to 50 properties.{}when there are none. A node requiresnodeType. An edge requiresedgeType.ListChangeSetOperationsreturns the operation's properties as stored, plusedgeTypeon an edge and the recordednodeType/nodeNameon a node (a writtennodeType, or a name undernodeName,name,titleordisplayName, wins), in key order after those. AWS Context doesn't list stored keys that aren't customer content (aws:*,~*, and an edge's identity keys), or a property cut by the 50-entry cap.UpdateChangeSetcannot remove such an item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-