Class OrderByElement
- java.lang.Object
-
- software.amazon.awssdk.services.applicationdiscovery.model.OrderByElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrderByElement.Builder,OrderByElement>
@Generated("software.amazon.awssdk:codegen") public final class OrderByElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrderByElement.Builder,OrderByElement>
A field and direction for ordered output.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOrderByElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderByElement.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldName()The field on which to order.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OrderByElement.Builder>serializableBuilderClass()OrderStringsortOrder()Ordering direction.StringsortOrderAsString()Ordering direction.OrderByElement.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
-
fieldName
public final String fieldName()
The field on which to order.
- Returns:
- The field on which to order.
-
sortOrder
public final OrderString sortOrder()
Ordering direction.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnOrderString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Ordering direction.
- See Also:
OrderString
-
sortOrderAsString
public final String sortOrderAsString()
Ordering direction.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnOrderString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Ordering direction.
- See Also:
OrderString
-
toBuilder
public OrderByElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrderByElement.Builder,OrderByElement>
-
builder
public static OrderByElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends OrderByElement.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.
-
-