Class ListTargetsFilter
- java.lang.Object
-
- software.amazon.awssdk.services.codestarnotifications.model.ListTargetsFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListTargetsFilter.Builder,ListTargetsFilter>
@Generated("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 Chatbot topics as targets, you could specify a ListTargetsFilter Name as
TargetTypeand a Value ofSNS, and a Name ofTARGET_STATUSand a Value ofACTIVE.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTargetsFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTargetsFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ListTargetsFilterNamename()The name of the attribute you want to use to filter the returned targets.StringnameAsString()The name of the attribute you want to use to filter the returned targets.List<SdkField<?>>sdkFields()static Class<? extends ListTargetsFilter.Builder>serializableBuilderClass()ListTargetsFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the attribute you want to use to filter the returned targets.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public 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,
namewill returnListTargetsFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attribute you want to use to filter the returned targets.
- See Also:
ListTargetsFilterName
-
nameAsString
public 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,
namewill returnListTargetsFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attribute you want to use to filter the returned targets.
- See Also:
ListTargetsFilterName
-
value
public final String value()
The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNSfor the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.- Returns:
- The value of the attribute you want to use to filter the returned targets. For example, if you specify
SNSfor the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.
-
toBuilder
public ListTargetsFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTargetsFilter.Builder,ListTargetsFilter>
-
builder
public static ListTargetsFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTargetsFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-