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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortCriteria.BuilderattributeName(String attributeName)The name of the property to sort the results by.SortCriteria.BuilderorderBy(String orderBy)The sort order to apply to the results, based on the value for the property specified by the attributeName property.SortCriteria.BuilderorderBy(OrderBy orderBy)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 Detail
-
attributeName
SortCriteria.Builder attributeName(String 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
SortCriteria.Builder orderBy(String 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,OrderBy
-
orderBy
SortCriteria.Builder orderBy(OrderBy 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,OrderBy
-
-