Interface AmiProductSort.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AmiProductSort.Builder,AmiProductSort>,SdkBuilder<AmiProductSort.Builder,AmiProductSort>,SdkPojo
- Enclosing class:
- AmiProductSort
public static interface AmiProductSort.Builder extends SdkPojo, CopyableBuilder<AmiProductSort.Builder,AmiProductSort>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AmiProductSort.BuildersortBy(String sortBy)Field to sort the AMI products by.AmiProductSort.BuildersortBy(AmiProductSortBy sortBy)Field to sort the AMI products by.AmiProductSort.BuildersortOrder(String sortOrder)The sorting order.AmiProductSort.BuildersortOrder(SortOrder sortOrder)The sorting order.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
sortBy
AmiProductSort.Builder sortBy(String sortBy)
Field to sort the AMI products by.
- Parameters:
sortBy- Field to sort the AMI products by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AmiProductSortBy,AmiProductSortBy
-
sortBy
AmiProductSort.Builder sortBy(AmiProductSortBy sortBy)
Field to sort the AMI products by.
- Parameters:
sortBy- Field to sort the AMI products by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AmiProductSortBy,AmiProductSortBy
-
sortOrder
AmiProductSort.Builder sortOrder(String sortOrder)
The sorting order. Can be
ASCENDINGorDESCENDING. The default value isDESCENDING.
-
sortOrder
AmiProductSort.Builder sortOrder(SortOrder sortOrder)
The sorting order. Can be
ASCENDINGorDESCENDING. The default value isDESCENDING.
-
-