Interface SortCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SortCriteria.Builder,
,SortCriteria> SdkBuilder<SortCriteria.Builder,
,SortCriteria> SdkPojo
- Enclosing class:
SortCriteria
public static interface SortCriteria.Builder
extends SdkPojo, CopyableBuilder<SortCriteria.Builder,SortCriteria>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the property to sort the results by.The sort order to apply to the results, based on the value for the property specified by the attributeName property.The sort order to apply to the results, based on the value for the property specified by the attributeName property.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 Details
-
attributeName
The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.
- Parameters:
attributeName
- The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderBy
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
- Parameters:
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orderBy
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
- Parameters:
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-