@Generated(value="software.amazon.awssdk:codegen") public final class ListTargetsFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListTargetsFilter.Builder,ListTargetsFilter>
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 Amazon SNS 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListTargetsFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListTargetsFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ListTargetsFilterName |
name()
The name of the attribute you want to use to filter the returned targets.
|
String |
nameAsString()
The name of the attribute you want to use to filter the returned targets.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListTargetsFilter.Builder> |
serializableBuilderClass() |
ListTargetsFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the attribute you want to use to filter the returned targets.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListTargetsFilterName name()
The name of the attribute you want to use to filter the returned targets.
If the service returns an enum value that is not available in the current SDK version, name will return
ListTargetsFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
ListTargetsFilterNamepublic final String nameAsString()
The name of the attribute you want to use to filter the returned targets.
If the service returns an enum value that is not available in the current SDK version, name will return
ListTargetsFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
ListTargetsFilterNamepublic final 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.
public ListTargetsFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListTargetsFilter.Builder,ListTargetsFilter>public static ListTargetsFilter.Builder builder()
public static Class<? extends ListTargetsFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.