@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 . |
FileFilter |
getFile()
A filter for related items of this type of
File . |
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 . |
void |
setFile(FileFilter file)
A filter for related items of this type of
File . |
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 . |
RelatedItemTypeFilter |
withFile(FileFilter file)
A filter for related items of this type of
File . |
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 void setFile(FileFilter file)
A filter for related items of this type of File
.
file
- A filter for related items of this type of File
.public FileFilter getFile()
A filter for related items of this type of File
.
File
.public RelatedItemTypeFilter withFile(FileFilter file)
A filter for related items of this type of File
.
file
- A filter for related items of this type of File
.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.