Class ListResourcesFilters
- java.lang.Object
-
- software.amazon.awssdk.services.workmail.model.ListResourcesFilters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListResourcesFilters.Builder,ListResourcesFilters>
@Generated("software.amazon.awssdk:codegen") public final class ListResourcesFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListResourcesFilters.Builder,ListResourcesFilters>
Filtering options for ListResources operation. This is only used as input to Operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListResourcesFilters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListResourcesFilters.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnamePrefix()Filters only resource that start with the entered name prefix .StringprimaryEmailPrefix()Filters only resource with the provided primary email prefix.List<SdkField<?>>sdkFields()static Class<? extends ListResourcesFilters.Builder>serializableBuilderClass()EntityStatestate()Filters only resource with the provided state.StringstateAsString()Filters only resource with the provided state.ListResourcesFilters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
namePrefix
public final String namePrefix()
Filters only resource that start with the entered name prefix .
- Returns:
- Filters only resource that start with the entered name prefix .
-
primaryEmailPrefix
public final String primaryEmailPrefix()
Filters only resource with the provided primary email prefix.
- Returns:
- Filters only resource with the provided primary email prefix.
-
state
public final EntityState state()
Filters only resource with the provided state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Filters only resource with the provided state.
- See Also:
EntityState
-
stateAsString
public final String stateAsString()
Filters only resource with the provided state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEntityState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Filters only resource with the provided state.
- See Also:
EntityState
-
toBuilder
public ListResourcesFilters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListResourcesFilters.Builder,ListResourcesFilters>
-
builder
public static ListResourcesFilters.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListResourcesFilters.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.
-
-