Class SearchSortExpression
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.SearchSortExpression
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SearchSortExpression.Builder,SearchSortExpression>
@Generated("software.amazon.awssdk:codegen") public final class SearchSortExpression extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchSortExpression.Builder,SearchSortExpression>
The resources to search.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchSortExpression.Builderstatic classSearchSortExpression.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchSortExpression.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FieldSortExpressionfieldSort()Options for sorting by a field.static SearchSortExpressionfromFieldSort(Consumer<FieldSortExpression.Builder> fieldSort)Create an instance of this class withfieldSort()initialized to the given value.static SearchSortExpressionfromFieldSort(FieldSortExpression fieldSort)Create an instance of this class withfieldSort()initialized to the given value.static SearchSortExpressionfromParameterSort(Consumer<ParameterSortExpression.Builder> parameterSort)Create an instance of this class withparameterSort()initialized to the given value.static SearchSortExpressionfromParameterSort(ParameterSortExpression parameterSort)Create an instance of this class withparameterSort()initialized to the given value.static SearchSortExpressionfromUserJobsFirst(Consumer<UserJobsFirst.Builder> userJobsFirst)Create an instance of this class withuserJobsFirst()initialized to the given value.static SearchSortExpressionfromUserJobsFirst(UserJobsFirst userJobsFirst)Create an instance of this class withuserJobsFirst()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ParameterSortExpressionparameterSort()Options for sorting by a parameter.List<SdkField<?>>sdkFields()static Class<? extends SearchSortExpression.Builder>serializableBuilderClass()SearchSortExpression.BuildertoBuilder()StringtoString()Returns a string representation of this object.SearchSortExpression.Typetype()Retrieve an enum value representing which member of this object is populated.UserJobsFirstuserJobsFirst()Options for sorting a particular user's jobs first.-
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
-
fieldSort
public final FieldSortExpression fieldSort()
Options for sorting by a field.
- Returns:
- Options for sorting by a field.
-
parameterSort
public final ParameterSortExpression parameterSort()
Options for sorting by a parameter.
- Returns:
- Options for sorting by a parameter.
-
userJobsFirst
public final UserJobsFirst userJobsFirst()
Options for sorting a particular user's jobs first.
- Returns:
- Options for sorting a particular user's jobs first.
-
toBuilder
public SearchSortExpression.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchSortExpression.Builder,SearchSortExpression>
-
builder
public static SearchSortExpression.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchSortExpression.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.
-
fromFieldSort
public static SearchSortExpression fromFieldSort(FieldSortExpression fieldSort)
Create an instance of this class withfieldSort()initialized to the given value.Options for sorting by a field.
- Parameters:
fieldSort- Options for sorting by a field.
-
fromFieldSort
public static SearchSortExpression fromFieldSort(Consumer<FieldSortExpression.Builder> fieldSort)
Create an instance of this class withfieldSort()initialized to the given value.Options for sorting by a field.
- Parameters:
fieldSort- Options for sorting by a field.
-
fromParameterSort
public static SearchSortExpression fromParameterSort(ParameterSortExpression parameterSort)
Create an instance of this class withparameterSort()initialized to the given value.Options for sorting by a parameter.
- Parameters:
parameterSort- Options for sorting by a parameter.
-
fromParameterSort
public static SearchSortExpression fromParameterSort(Consumer<ParameterSortExpression.Builder> parameterSort)
Create an instance of this class withparameterSort()initialized to the given value.Options for sorting by a parameter.
- Parameters:
parameterSort- Options for sorting by a parameter.
-
fromUserJobsFirst
public static SearchSortExpression fromUserJobsFirst(UserJobsFirst userJobsFirst)
Create an instance of this class withuserJobsFirst()initialized to the given value.Options for sorting a particular user's jobs first.
- Parameters:
userJobsFirst- Options for sorting a particular user's jobs first.
-
fromUserJobsFirst
public static SearchSortExpression fromUserJobsFirst(Consumer<UserJobsFirst.Builder> userJobsFirst)
Create an instance of this class withuserJobsFirst()initialized to the given value.Options for sorting a particular user's jobs first.
- Parameters:
userJobsFirst- Options for sorting a particular user's jobs first.
-
type
public SearchSortExpression.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beSearchSortExpression.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beSearchSortExpression.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-