@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotSortingEntity extends Object implements Serializable, Cloneable
Describes a sorting entity
Constructor and Description |
---|
SnapshotSortingEntity() |
Modifier and Type | Method and Description |
---|---|
SnapshotSortingEntity |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The category for sorting the snapshots.
|
String |
getSortOrder()
The order for listing the attributes.
|
int |
hashCode() |
void |
setAttribute(String attribute)
The category for sorting the snapshots.
|
void |
setSortOrder(String sortOrder)
The order for listing the attributes.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotSortingEntity |
withAttribute(SnapshotAttributeToSortBy attribute)
The category for sorting the snapshots.
|
SnapshotSortingEntity |
withAttribute(String attribute)
The category for sorting the snapshots.
|
SnapshotSortingEntity |
withSortOrder(SortByOrder sortOrder)
The order for listing the attributes.
|
SnapshotSortingEntity |
withSortOrder(String sortOrder)
The order for listing the attributes.
|
public void setAttribute(String attribute)
The category for sorting the snapshots.
attribute
- The category for sorting the snapshots.SnapshotAttributeToSortBy
public String getAttribute()
The category for sorting the snapshots.
SnapshotAttributeToSortBy
public SnapshotSortingEntity withAttribute(String attribute)
The category for sorting the snapshots.
attribute
- The category for sorting the snapshots.SnapshotAttributeToSortBy
public SnapshotSortingEntity withAttribute(SnapshotAttributeToSortBy attribute)
The category for sorting the snapshots.
attribute
- The category for sorting the snapshots.SnapshotAttributeToSortBy
public void setSortOrder(String sortOrder)
The order for listing the attributes.
sortOrder
- The order for listing the attributes.SortByOrder
public String getSortOrder()
The order for listing the attributes.
SortByOrder
public SnapshotSortingEntity withSortOrder(String sortOrder)
The order for listing the attributes.
sortOrder
- The order for listing the attributes.SortByOrder
public SnapshotSortingEntity withSortOrder(SortByOrder sortOrder)
The order for listing the attributes.
sortOrder
- The order for listing the attributes.SortByOrder
public String toString()
toString
in class Object
Object.toString()
public SnapshotSortingEntity clone()