Class TestSetSortBy
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.TestSetSortBy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TestSetSortBy.Builder,TestSetSortBy>
@Generated("software.amazon.awssdk:codegen") public final class TestSetSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TestSetSortBy.Builder,TestSetSortBy>
Contains information about the methods by which to sort the test set.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestSetSortBy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestSetSortAttributeattribute()Specifies whether to sort the test sets by name or by the time they were last updated.StringattributeAsString()Specifies whether to sort the test sets by name or by the time they were last updated.static TestSetSortBy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SortOrderorder()Specifies whether to sort in ascending or descending order.StringorderAsString()Specifies whether to sort in ascending or descending order.List<SdkField<?>>sdkFields()static Class<? extends TestSetSortBy.Builder>serializableBuilderClass()TestSetSortBy.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
-
attribute
public final TestSetSortAttribute attribute()
Specifies whether to sort the test sets by name or by the time they were last updated.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnTestSetSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- Specifies whether to sort the test sets by name or by the time they were last updated.
- See Also:
TestSetSortAttribute
-
attributeAsString
public final String attributeAsString()
Specifies whether to sort the test sets by name or by the time they were last updated.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnTestSetSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- Specifies whether to sort the test sets by name or by the time they were last updated.
- See Also:
TestSetSortAttribute
-
order
public final SortOrder order()
Specifies whether to sort in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Specifies whether to sort in ascending or descending order.
- See Also:
SortOrder
-
orderAsString
public final String orderAsString()
Specifies whether to sort in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Specifies whether to sort in ascending or descending order.
- See Also:
SortOrder
-
toBuilder
public TestSetSortBy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestSetSortBy.Builder,TestSetSortBy>
-
builder
public static TestSetSortBy.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestSetSortBy.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.
-
-