@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TypedLinkSpecifier extends Object implements Serializable, Cloneable, StructuredPojo
Contains all the information that is used to uniquely identify a typed link. The parameters discussed in this topic are used to uniquely specify the typed link being operated on. The AttachTypedLink API returns a typed link specifier while the DetachTypedLink API accepts one as input. Similarly, the ListIncomingTypedLinks and ListOutgoingTypedLinks API operations provide typed link specifiers as output. You can also construct a typed link specifier from scratch.
Constructor and Description |
---|
TypedLinkSpecifier() |
Modifier and Type | Method and Description |
---|---|
TypedLinkSpecifier |
clone() |
boolean |
equals(Object obj) |
List<AttributeNameAndValue> |
getIdentityAttributeValues()
Identifies the attribute value to update.
|
ObjectReference |
getSourceObjectReference()
Identifies the source object that the typed link will attach to.
|
ObjectReference |
getTargetObjectReference()
Identifies the target object that the typed link will attach to.
|
TypedLinkSchemaAndFacetName |
getTypedLinkFacet()
Identifies the typed link facet that is associated with the typed link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentityAttributeValues(Collection<AttributeNameAndValue> identityAttributeValues)
Identifies the attribute value to update.
|
void |
setSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
|
void |
setTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
|
void |
setTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
|
String |
toString()
Returns a string representation of this object.
|
TypedLinkSpecifier |
withIdentityAttributeValues(AttributeNameAndValue... identityAttributeValues)
Identifies the attribute value to update.
|
TypedLinkSpecifier |
withIdentityAttributeValues(Collection<AttributeNameAndValue> identityAttributeValues)
Identifies the attribute value to update.
|
TypedLinkSpecifier |
withSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
|
TypedLinkSpecifier |
withTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
|
TypedLinkSpecifier |
withTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
|
public void setTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.public TypedLinkSchemaAndFacetName getTypedLinkFacet()
Identifies the typed link facet that is associated with the typed link.
public TypedLinkSpecifier withTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.public void setSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
sourceObjectReference
- Identifies the source object that the typed link will attach to.public ObjectReference getSourceObjectReference()
Identifies the source object that the typed link will attach to.
public TypedLinkSpecifier withSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
sourceObjectReference
- Identifies the source object that the typed link will attach to.public void setTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
targetObjectReference
- Identifies the target object that the typed link will attach to.public ObjectReference getTargetObjectReference()
Identifies the target object that the typed link will attach to.
public TypedLinkSpecifier withTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
targetObjectReference
- Identifies the target object that the typed link will attach to.public List<AttributeNameAndValue> getIdentityAttributeValues()
Identifies the attribute value to update.
public void setIdentityAttributeValues(Collection<AttributeNameAndValue> identityAttributeValues)
Identifies the attribute value to update.
identityAttributeValues
- Identifies the attribute value to update.public TypedLinkSpecifier withIdentityAttributeValues(AttributeNameAndValue... identityAttributeValues)
Identifies the attribute value to update.
NOTE: This method appends the values to the existing list (if any). Use
setIdentityAttributeValues(java.util.Collection)
or
withIdentityAttributeValues(java.util.Collection)
if you want to override the existing values.
identityAttributeValues
- Identifies the attribute value to update.public TypedLinkSpecifier withIdentityAttributeValues(Collection<AttributeNameAndValue> identityAttributeValues)
Identifies the attribute value to update.
identityAttributeValues
- Identifies the attribute value to update.public String toString()
toString
in class Object
Object.toString()
public TypedLinkSpecifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.