Interface Sort.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Sort.Builder,
,Sort> SdkBuilder<Sort.Builder,
,Sort> SdkPojo
- Enclosing class:
Sort
@Mutable
@NotThreadSafe
public static interface Sort.Builder
extends SdkPojo, CopyableBuilder<Sort.Builder,Sort>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.Indicates the order in which you want to sort the metrics.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, sdkFieldNameToField, sdkFields
-
Method Details
-
ascending
Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.
- Parameters:
ascending
- Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.
- Parameters:
field
- Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-