@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsFilter extends Object implements Serializable, Cloneable, StructuredPojo
Information about a filter to apply to the list of returned targets. You can filter by target type, address, or
status. For example, to filter results to notification rules that have active Chatbot topics as targets, you could
specify a ListTargetsFilter Name as TargetType
and a Value of SNS
, and a Name of
TARGET_STATUS
and a Value of ACTIVE
.
Constructor and Description |
---|
ListTargetsFilter() |
Modifier and Type | Method and Description |
---|---|
ListTargetsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute you want to use to filter the returned targets.
|
String |
getValue()
The value of the attribute you want to use to filter the returned targets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the attribute you want to use to filter the returned targets.
|
void |
setValue(String value)
The value of the attribute you want to use to filter the returned targets.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsFilter |
withName(ListTargetsFilterName name)
The name of the attribute you want to use to filter the returned targets.
|
ListTargetsFilter |
withName(String name)
The name of the attribute you want to use to filter the returned targets.
|
ListTargetsFilter |
withValue(String value)
The value of the attribute you want to use to filter the returned targets.
|
public void setName(String name)
The name of the attribute you want to use to filter the returned targets.
name
- The name of the attribute you want to use to filter the returned targets.ListTargetsFilterName
public String getName()
The name of the attribute you want to use to filter the returned targets.
ListTargetsFilterName
public ListTargetsFilter withName(String name)
The name of the attribute you want to use to filter the returned targets.
name
- The name of the attribute you want to use to filter the returned targets.ListTargetsFilterName
public ListTargetsFilter withName(ListTargetsFilterName name)
The name of the attribute you want to use to filter the returned targets.
name
- The name of the attribute you want to use to filter the returned targets.ListTargetsFilterName
public void setValue(String value)
The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.
value
- The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the
value.public String getValue()
The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the
value.public ListTargetsFilter withValue(String value)
The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.
value
- The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNS
for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the
value.public String toString()
toString
in class Object
Object.toString()
public ListTargetsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.