@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelatedItemContent extends Object implements Serializable, Cloneable, StructuredPojo
Represents the content of a particular type of related item.
| Constructor and Description |
|---|
RelatedItemContent() |
| Modifier and Type | Method and Description |
|---|---|
RelatedItemContent |
clone() |
boolean |
equals(Object obj) |
CommentContent |
getComment()
Represents the content of a comment to be returned to agents.
|
ContactContent |
getContact()
Represents the content of a contact to be returned to agents.
|
FileContent |
getFile()
Represents the content of a File to be returned to agents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComment(CommentContent comment)
Represents the content of a comment to be returned to agents.
|
void |
setContact(ContactContent contact)
Represents the content of a contact to be returned to agents.
|
void |
setFile(FileContent file)
Represents the content of a File to be returned to agents.
|
String |
toString()
Returns a string representation of this object.
|
RelatedItemContent |
withComment(CommentContent comment)
Represents the content of a comment to be returned to agents.
|
RelatedItemContent |
withContact(ContactContent contact)
Represents the content of a contact to be returned to agents.
|
RelatedItemContent |
withFile(FileContent file)
Represents the content of a File to be returned to agents.
|
public void setComment(CommentContent comment)
Represents the content of a comment to be returned to agents.
comment - Represents the content of a comment to be returned to agents.public CommentContent getComment()
Represents the content of a comment to be returned to agents.
public RelatedItemContent withComment(CommentContent comment)
Represents the content of a comment to be returned to agents.
comment - Represents the content of a comment to be returned to agents.public void setContact(ContactContent contact)
Represents the content of a contact to be returned to agents.
contact - Represents the content of a contact to be returned to agents.public ContactContent getContact()
Represents the content of a contact to be returned to agents.
public RelatedItemContent withContact(ContactContent contact)
Represents the content of a contact to be returned to agents.
contact - Represents the content of a contact to be returned to agents.public void setFile(FileContent file)
Represents the content of a File to be returned to agents.
file - Represents the content of a File to be returned to agents.public FileContent getFile()
Represents the content of a File to be returned to agents.
public RelatedItemContent withFile(FileContent file)
Represents the content of a File to be returned to agents.
file - Represents the content of a File to be returned to agents.public String toString()
toString in class ObjectObject.toString()public RelatedItemContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.