@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TypedLinkFacet extends Object implements Serializable, Cloneable, StructuredPojo
Defines the typed links structure and its attributes. To create a typed link facet, use the CreateTypedLinkFacet API.
Constructor and Description |
---|
TypedLinkFacet() |
Modifier and Type | Method and Description |
---|---|
TypedLinkFacet |
clone() |
boolean |
equals(Object obj) |
List<TypedLinkAttributeDefinition> |
getAttributes()
A set of key-value pairs associated with the typed link.
|
List<String> |
getIdentityAttributeOrder()
The set of attributes that distinguish links made from this facet from each other, in the order of significance.
|
String |
getName()
The unique name of the typed link facet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<TypedLinkAttributeDefinition> attributes)
A set of key-value pairs associated with the typed link.
|
void |
setIdentityAttributeOrder(Collection<String> identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of significance.
|
void |
setName(String name)
The unique name of the typed link facet.
|
String |
toString()
Returns a string representation of this object.
|
TypedLinkFacet |
withAttributes(Collection<TypedLinkAttributeDefinition> attributes)
A set of key-value pairs associated with the typed link.
|
TypedLinkFacet |
withAttributes(TypedLinkAttributeDefinition... attributes)
A set of key-value pairs associated with the typed link.
|
TypedLinkFacet |
withIdentityAttributeOrder(Collection<String> identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of significance.
|
TypedLinkFacet |
withIdentityAttributeOrder(String... identityAttributeOrder)
The set of attributes that distinguish links made from this facet from each other, in the order of significance.
|
TypedLinkFacet |
withName(String name)
The unique name of the typed link facet.
|
public void setName(String name)
The unique name of the typed link facet.
name
- The unique name of the typed link facet.public String getName()
The unique name of the typed link facet.
public TypedLinkFacet withName(String name)
The unique name of the typed link facet.
name
- The unique name of the typed link facet.public List<TypedLinkAttributeDefinition> getAttributes()
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.
public void setAttributes(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.public TypedLinkFacet withAttributes(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.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
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.public TypedLinkFacet withAttributes(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.public List<String> getIdentityAttributeOrder()
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.
public void setIdentityAttributeOrder(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.public TypedLinkFacet withIdentityAttributeOrder(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.
NOTE: This method appends the values to the existing list (if any). Use
setIdentityAttributeOrder(java.util.Collection)
or
withIdentityAttributeOrder(java.util.Collection)
if you want to override the existing values.
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.public TypedLinkFacet withIdentityAttributeOrder(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.public String toString()
toString
in class Object
Object.toString()
public TypedLinkFacet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.