@Generated(value="software.amazon.awssdk:codegen") public final class BucketSortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketSortCriteria.Builder,BucketSortCriteria>
Specifies criteria for sorting the results of a query for information about S3 buckets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BucketSortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the bucket property to sort the results by.
|
static BucketSortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OrderBy |
orderBy()
The sort order to apply to the results, based on the value specified by the attributeName property.
|
String |
orderByAsString()
The sort order to apply to the results, based on the value specified by the attributeName property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketSortCriteria.Builder> |
serializableBuilderClass() |
BucketSortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.
public final OrderBy orderBy()
The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic final String orderByAsString()
The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic BucketSortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BucketSortCriteria.Builder,BucketSortCriteria>public static BucketSortCriteria.Builder builder()
public static Class<? extends BucketSortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.