@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectIdentifierAndLinkNameTuple extends Object implements Serializable, Cloneable, StructuredPojo
A pair of ObjectIdentifier and LinkName.
Constructor and Description |
---|
ObjectIdentifierAndLinkNameTuple() |
Modifier and Type | Method and Description |
---|---|
ObjectIdentifierAndLinkNameTuple |
clone() |
boolean |
equals(Object obj) |
String |
getLinkName()
The name of the link between the parent and the child object.
|
String |
getObjectIdentifier()
The ID that is associated with the object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLinkName(String linkName)
The name of the link between the parent and the child object.
|
void |
setObjectIdentifier(String objectIdentifier)
The ID that is associated with the object.
|
String |
toString()
Returns a string representation of this object.
|
ObjectIdentifierAndLinkNameTuple |
withLinkName(String linkName)
The name of the link between the parent and the child object.
|
ObjectIdentifierAndLinkNameTuple |
withObjectIdentifier(String objectIdentifier)
The ID that is associated with the object.
|
public void setObjectIdentifier(String objectIdentifier)
The ID that is associated with the object.
objectIdentifier
- The ID that is associated with the object.public String getObjectIdentifier()
The ID that is associated with the object.
public ObjectIdentifierAndLinkNameTuple withObjectIdentifier(String objectIdentifier)
The ID that is associated with the object.
objectIdentifier
- The ID that is associated with the object.public void setLinkName(String linkName)
The name of the link between the parent and the child object.
linkName
- The name of the link between the parent and the child object.public String getLinkName()
The name of the link between the parent and the child object.
public ObjectIdentifierAndLinkNameTuple withLinkName(String linkName)
The name of the link between the parent and the child object.
linkName
- The name of the link between the parent and the child object.public String toString()
toString
in class Object
Object.toString()
public ObjectIdentifierAndLinkNameTuple clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.