@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.
|
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.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public RelatedItemContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.