@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter for related items of type Contact
.
Constructor and Description |
---|
ContactFilter() |
Modifier and Type | Method and Description |
---|---|
ContactFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getChannel()
A list of channels to filter on for related items of type
Contact . |
String |
getContactArn()
A unique identifier of a contact in Amazon Connect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannel(Collection<String> channel)
A list of channels to filter on for related items of type
Contact . |
void |
setContactArn(String contactArn)
A unique identifier of a contact in Amazon Connect.
|
String |
toString()
Returns a string representation of this object.
|
ContactFilter |
withChannel(Collection<String> channel)
A list of channels to filter on for related items of type
Contact . |
ContactFilter |
withChannel(String... channel)
A list of channels to filter on for related items of type
Contact . |
ContactFilter |
withContactArn(String contactArn)
A unique identifier of a contact in Amazon Connect.
|
public List<String> getChannel()
A list of channels to filter on for related items of type Contact
.
Contact
.public void setChannel(Collection<String> channel)
A list of channels to filter on for related items of type Contact
.
channel
- A list of channels to filter on for related items of type Contact
.public ContactFilter withChannel(String... channel)
A list of channels to filter on for related items of type Contact
.
NOTE: This method appends the values to the existing list (if any). Use
setChannel(java.util.Collection)
or withChannel(java.util.Collection)
if you want to override
the existing values.
channel
- A list of channels to filter on for related items of type Contact
.public ContactFilter withChannel(Collection<String> channel)
A list of channels to filter on for related items of type Contact
.
channel
- A list of channels to filter on for related items of type Contact
.public void setContactArn(String contactArn)
A unique identifier of a contact in Amazon Connect.
contactArn
- A unique identifier of a contact in Amazon Connect.public String getContactArn()
A unique identifier of a contact in Amazon Connect.
public ContactFilter withContactArn(String contactArn)
A unique identifier of a contact in Amazon Connect.
contactArn
- A unique identifier of a contact in Amazon Connect.public String toString()
toString
in class Object
Object.toString()
public ContactFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.