@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 attribute 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 for the property specified by the attributeName
property.
|
String |
orderByAsString()
The sort order to apply to the results, based on the value for the property 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 String attributeName()
The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.
public 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.
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 String orderByAsString()
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.
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.