@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelatedItemTypeFilter extends Object implements Serializable, Cloneable, StructuredPojo
The list of types of related items and their parameters to use for filtering.
Constructor and Description |
---|
RelatedItemTypeFilter() |
Modifier and Type | Method and Description |
---|---|
RelatedItemTypeFilter |
clone() |
boolean |
equals(Object obj) |
CommentFilter |
getComment()
A filter for related items of type
Comment . |
ContactFilter |
getContact()
A filter for related items of type
Contact . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComment(CommentFilter comment)
A filter for related items of type
Comment . |
void |
setContact(ContactFilter contact)
A filter for related items of type
Contact . |
String |
toString()
Returns a string representation of this object.
|
RelatedItemTypeFilter |
withComment(CommentFilter comment)
A filter for related items of type
Comment . |
RelatedItemTypeFilter |
withContact(ContactFilter contact)
A filter for related items of type
Contact . |
public void setComment(CommentFilter comment)
A filter for related items of type Comment
.
comment
- A filter for related items of type Comment
.public CommentFilter getComment()
A filter for related items of type Comment
.
Comment
.public RelatedItemTypeFilter withComment(CommentFilter comment)
A filter for related items of type Comment
.
comment
- A filter for related items of type Comment
.public void setContact(ContactFilter contact)
A filter for related items of type Contact
.
contact
- A filter for related items of type Contact
.public ContactFilter getContact()
A filter for related items of type Contact
.
Contact
.public RelatedItemTypeFilter withContact(ContactFilter contact)
A filter for related items of type Contact
.
contact
- A filter for related items of type Contact
.public String toString()
toString
in class Object
Object.toString()
public RelatedItemTypeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.