Interface TypedLinkFacet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TypedLinkFacet.Builder,TypedLinkFacet>,SdkBuilder<TypedLinkFacet.Builder,TypedLinkFacet>,SdkPojo
- Enclosing class:
- TypedLinkFacet
public static interface TypedLinkFacet.Builder extends SdkPojo, CopyableBuilder<TypedLinkFacet.Builder,TypedLinkFacet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedLinkFacet.Builderattributes(Collection<TypedLinkAttributeDefinition> attributes)A set of key-value pairs associated with the typed link.TypedLinkFacet.Builderattributes(Consumer<TypedLinkAttributeDefinition.Builder>... attributes)A set of key-value pairs associated with the typed link.TypedLinkFacet.Builderattributes(TypedLinkAttributeDefinition... attributes)A set of key-value pairs associated with the typed link.TypedLinkFacet.BuilderidentityAttributeOrder(String... identityAttributeOrder)The set of attributes that distinguish links made from this facet from each other, in the order of significance.TypedLinkFacet.BuilderidentityAttributeOrder(Collection<String> identityAttributeOrder)The set of attributes that distinguish links made from this facet from each other, in the order of significance.TypedLinkFacet.Buildername(String name)The unique name of the typed link facet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
TypedLinkFacet.Builder name(String name)
The unique name of the typed link facet.
- Parameters:
name- The unique name of the typed link facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
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.Builderavoiding the need to create one manually viaTypedLinkAttributeDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - Parameters:
attributes- a consumer that will call methods onTypedLinkAttributeDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributes(java.util.Collection)
-
identityAttributeOrder
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityAttributeOrder
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-