@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) |
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.ListTargetsFilterNamepublic String getName()
The name of the attribute you want to use to filter the returned targets.
ListTargetsFilterNamepublic 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.ListTargetsFilterNamepublic 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.ListTargetsFilterNamepublic 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 ObjectObject.toString()public ListTargetsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.