@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAttachTypedLink extends Object implements Serializable, Cloneable, StructuredPojo
Attaches a typed link to a specified source and target object inside a BatchRead operation. For more information, see AttachTypedLink and BatchReadRequest$Operations.
Constructor and Description |
---|
BatchAttachTypedLink() |
Modifier and Type | Method and Description |
---|---|
BatchAttachTypedLink |
clone() |
boolean |
equals(Object obj) |
List<AttributeNameAndValue> |
getAttributes()
A set of attributes that are associated with the typed link.
|
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 |
setAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
|
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.
|
BatchAttachTypedLink |
withAttributes(AttributeNameAndValue... attributes)
A set of attributes that are associated with the typed link.
|
BatchAttachTypedLink |
withAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
|
BatchAttachTypedLink |
withSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
|
BatchAttachTypedLink |
withTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
|
BatchAttachTypedLink |
withTypedLinkFacet(TypedLinkSchemaAndFacetName 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 BatchAttachTypedLink 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 BatchAttachTypedLink 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 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 BatchAttachTypedLink 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 List<AttributeNameAndValue> getAttributes()
A set of attributes that are associated with the typed link.
public void setAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
attributes
- A set of attributes that are associated with the typed link.public BatchAttachTypedLink withAttributes(AttributeNameAndValue... attributes)
A set of attributes that are associated with the typed link.
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 attributes that are associated with the typed link.public BatchAttachTypedLink withAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
attributes
- A set of attributes that are associated with the typed link.public String toString()
toString
in class Object
Object.toString()
public BatchAttachTypedLink clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.