@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketSortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a query for information about S3 buckets.
Constructor and Description |
---|
BucketSortCriteria() |
Modifier and Type | Method and Description |
---|---|
BucketSortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the bucket property to sort the results by.
|
String |
getOrderBy()
The sort order to apply to the results, based on the value specified by the attributeName property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the bucket property to sort the results by.
|
void |
setOrderBy(String orderBy)
The sort order to apply to the results, based on the value specified by the attributeName property.
|
String |
toString()
Returns a string representation of this object.
|
BucketSortCriteria |
withAttributeName(String attributeName)
The name of the bucket property to sort the results by.
|
BucketSortCriteria |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value specified by the attributeName property.
|
BucketSortCriteria |
withOrderBy(String orderBy)
The sort order to apply to the results, based on the value specified by the attributeName property.
|
public void setAttributeName(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.
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 String getAttributeName()
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 BucketSortCriteria withAttributeName(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.
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 void setOrderBy(String 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.
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.OrderBy
public String getOrderBy()
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.
OrderBy
public BucketSortCriteria withOrderBy(String 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.
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.OrderBy
public BucketSortCriteria withOrderBy(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.
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.OrderBy
public String toString()
toString
in class Object
Object.toString()
public BucketSortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.