Interface Sort.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Sort.Builder,Sort>,SdkBuilder<Sort.Builder,Sort>,SdkPojo
- Enclosing class:
- Sort
public static interface Sort.Builder extends SdkPojo, CopyableBuilder<Sort.Builder,Sort>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sort.Builderascending(Boolean ascending)Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.Sort.Builderfield(String field)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 Detail
-
ascending
Sort.Builder ascending(Boolean 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
Sort.Builder field(String 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.
-
-