public static interface TypedLinkFacet.Builder extends SdkPojo, CopyableBuilder<TypedLinkFacet.Builder,TypedLinkFacet>
| Modifier and Type | Method and Description |
|---|---|
TypedLinkFacet.Builder |
attributes(Collection<TypedLinkAttributeDefinition> attributes)
A set of key-value pairs associated with the typed link.
|
TypedLinkFacet.Builder |
attributes(Consumer<TypedLinkAttributeDefinition.Builder>... attributes)
A set of key-value pairs associated with the typed link.
|
TypedLinkFacet.Builder |
attributes(TypedLinkAttributeDefinition... attributes)
A set of key-value pairs associated with the typed link.
|
TypedLinkFacet.Builder |
identityAttributeOrder(Collection<String> identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of
significance.
|
TypedLinkFacet.Builder |
identityAttributeOrder(String... identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of
significance.
|
TypedLinkFacet.Builder |
name(String name)
The unique name of the typed link facet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTypedLinkFacet.Builder name(String name)
The unique name of the typed link facet.
name - The unique name of the typed link facet.TypedLinkFacet.Builder attributes(Collection<TypedLinkAttributeDefinition> attributes)
A set of key-value pairs associated with the typed link. Typed link attributes are used when you have data values that are related to the link itself, and not to one of the two objects being linked. Identity attributes also serve to distinguish the link from others of the same type between the same objects.
attributes - A set of key-value pairs associated with the typed link. Typed link attributes are used when you have
data values that are related to the link itself, and not to one of the two objects being linked.
Identity attributes also serve to distinguish the link from others of the same type between the same
objects.TypedLinkFacet.Builder attributes(TypedLinkAttributeDefinition... attributes)
A set of key-value pairs associated with the typed link. Typed link attributes are used when you have data values that are related to the link itself, and not to one of the two objects being linked. Identity attributes also serve to distinguish the link from others of the same type between the same objects.
attributes - A set of key-value pairs associated with the typed link. Typed link attributes are used when you have
data values that are related to the link itself, and not to one of the two objects being linked.
Identity attributes also serve to distinguish the link from others of the same type between the same
objects.TypedLinkFacet.Builder attributes(Consumer<TypedLinkAttributeDefinition.Builder>... attributes)
A set of key-value pairs associated with the typed link. Typed link attributes are used when you have data values that are related to the link itself, and not to one of the two objects being linked. Identity attributes also serve to distinguish the link from others of the same type between the same objects.
This is a convenience method that creates an instance of theTypedLinkAttributeDefinition.Builder avoiding
the need to create one manually via
TypedLinkAttributeDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #attributes(List.
attributes - a consumer that will call methods on
TypedLinkAttributeDefinition.Builder#attributes(java.util.Collection) TypedLinkFacet.Builder identityAttributeOrder(Collection<String> identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of significance. Listing typed links can filter on the values of these attributes. See ListOutgoingTypedLinks and ListIncomingTypedLinks for details.
identityAttributeOrder - The set of attributes that distinguish links made from this facet from each other, in the order of
significance. Listing typed links can filter on the values of these attributes. See
ListOutgoingTypedLinks and ListIncomingTypedLinks for details.TypedLinkFacet.Builder identityAttributeOrder(String... identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of significance. Listing typed links can filter on the values of these attributes. See ListOutgoingTypedLinks and ListIncomingTypedLinks for details.
identityAttributeOrder - The set of attributes that distinguish links made from this facet from each other, in the order of
significance. Listing typed links can filter on the values of these attributes. See
ListOutgoingTypedLinks and ListIncomingTypedLinks for details.Copyright © 2022. All rights reserved.