@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelatedItemInputContent extends Object implements Serializable, Cloneable, StructuredPojo
Represents the content of a related item to be created.
Constructor and Description |
---|
RelatedItemInputContent() |
Modifier and Type | Method and Description |
---|---|
RelatedItemInputContent |
clone() |
boolean |
equals(Object obj) |
CommentContent |
getComment()
Represents the content of a comment to be returned to agents.
|
Contact |
getContact()
Object representing a contact in Amazon Connect as an API request field.
|
FileContent |
getFile()
A file of related items.
|
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(Contact contact)
Object representing a contact in Amazon Connect as an API request field.
|
void |
setFile(FileContent file)
A file of related items.
|
String |
toString()
Returns a string representation of this object.
|
RelatedItemInputContent |
withComment(CommentContent comment)
Represents the content of a comment to be returned to agents.
|
RelatedItemInputContent |
withContact(Contact contact)
Object representing a contact in Amazon Connect as an API request field.
|
RelatedItemInputContent |
withFile(FileContent file)
A file of related items.
|
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 RelatedItemInputContent 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(Contact contact)
Object representing a contact in Amazon Connect as an API request field.
contact
- Object representing a contact in Amazon Connect as an API request field.public Contact getContact()
Object representing a contact in Amazon Connect as an API request field.
public RelatedItemInputContent withContact(Contact contact)
Object representing a contact in Amazon Connect as an API request field.
contact
- Object representing a contact in Amazon Connect as an API request field.public void setFile(FileContent file)
A file of related items.
file
- A file of related items.public FileContent getFile()
A file of related items.
public RelatedItemInputContent withFile(FileContent file)
A file of related items.
file
- A file of related items.public String toString()
toString
in class Object
Object.toString()
public RelatedItemInputContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.