Class Filter
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanagerusersubscriptions.model.Filter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Filter.Builder,Filter>
@Generated("software.amazon.awssdk:codegen") public final class Filter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filter.Builder,Filter>
A filter name and value pair that is used to return more specific results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringattribute()The name of an attribute to use as a filter.static Filter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringoperation()The type of search (For example, eq, geq, leq)List<SdkField<?>>sdkFields()static Class<? extends Filter.Builder>serializableBuilderClass()Filter.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()Value of the filter.-
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
-
attribute
public final String attribute()
The name of an attribute to use as a filter.
- Returns:
- The name of an attribute to use as a filter.
-
operation
public final String operation()
The type of search (For example, eq, geq, leq)
- Returns:
- The type of search (For example, eq, geq, leq)
-
value
public final String value()
Value of the filter.
- Returns:
- Value of the filter.
-
toBuilder
public Filter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Filter.Builder,Filter>
-
builder
public static Filter.Builder builder()
-
serializableBuilderClass
public static Class<? extends Filter.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.
-
-