Class GenerationSortBy
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.GenerationSortBy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GenerationSortBy.Builder,GenerationSortBy>
@Generated("software.amazon.awssdk:codegen") public final class GenerationSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GenerationSortBy.Builder,GenerationSortBy>
Specifies the attribute and method by which to sort the generation request information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGenerationSortBy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerationSortByAttributeattribute()The attribute by which to sort the generation request information.StringattributeAsString()The attribute by which to sort the generation request information.static GenerationSortBy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SortOrderorder()The order by which to sort the generation request information.StringorderAsString()The order by which to sort the generation request information.List<SdkField<?>>sdkFields()static Class<? extends GenerationSortBy.Builder>serializableBuilderClass()GenerationSortBy.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 GenerationSortByAttribute attribute()
The attribute by which to sort the generation request information. You can sort by the following attributes.
-
creationStartTime– The time at which the generation request was created. -
lastUpdatedTime– The time at which the generation request was last updated.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnGenerationSortByAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The attribute by which to sort the generation request information. You can sort by the following
attributes.
-
creationStartTime– The time at which the generation request was created. -
lastUpdatedTime– The time at which the generation request was last updated.
-
- See Also:
GenerationSortByAttribute
-
-
attributeAsString
public final String attributeAsString()
The attribute by which to sort the generation request information. You can sort by the following attributes.
-
creationStartTime– The time at which the generation request was created. -
lastUpdatedTime– The time at which the generation request was last updated.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnGenerationSortByAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The attribute by which to sort the generation request information. You can sort by the following
attributes.
-
creationStartTime– The time at which the generation request was created. -
lastUpdatedTime– The time at which the generation request was last updated.
-
- See Also:
GenerationSortByAttribute
-
-
order
public final SortOrder order()
The order by which to sort the generation request information.
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:
- The order by which to sort the generation request information.
- See Also:
SortOrder
-
orderAsString
public final String orderAsString()
The order by which to sort the generation request information.
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:
- The order by which to sort the generation request information.
- See Also:
SortOrder
-
toBuilder
public GenerationSortBy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GenerationSortBy.Builder,GenerationSortBy>
-
builder
public static GenerationSortBy.Builder builder()
-
serializableBuilderClass
public static Class<? extends GenerationSortBy.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.
-
-