@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestSetSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the methods by which to sort the test set.
Constructor and Description |
---|
TestSetSortBy() |
Modifier and Type | Method and Description |
---|---|
TestSetSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
Specifies whether to sort the test sets by name or by the time they were last updated.
|
String |
getOrder()
Specifies whether to sort in ascending or descending order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttribute(String attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
|
void |
setOrder(String order)
Specifies whether to sort in ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
TestSetSortBy |
withAttribute(String attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
|
TestSetSortBy |
withAttribute(TestSetSortAttribute attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
|
TestSetSortBy |
withOrder(SortOrder order)
Specifies whether to sort in ascending or descending order.
|
TestSetSortBy |
withOrder(String order)
Specifies whether to sort in ascending or descending order.
|
public void setAttribute(String attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
attribute
- Specifies whether to sort the test sets by name or by the time they were last updated.TestSetSortAttribute
public String getAttribute()
Specifies whether to sort the test sets by name or by the time they were last updated.
TestSetSortAttribute
public TestSetSortBy withAttribute(String attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
attribute
- Specifies whether to sort the test sets by name or by the time they were last updated.TestSetSortAttribute
public TestSetSortBy withAttribute(TestSetSortAttribute attribute)
Specifies whether to sort the test sets by name or by the time they were last updated.
attribute
- Specifies whether to sort the test sets by name or by the time they were last updated.TestSetSortAttribute
public void setOrder(String order)
Specifies whether to sort in ascending or descending order.
order
- Specifies whether to sort in ascending or descending order.SortOrder
public String getOrder()
Specifies whether to sort in ascending or descending order.
SortOrder
public TestSetSortBy withOrder(String order)
Specifies whether to sort in ascending or descending order.
order
- Specifies whether to sort in ascending or descending order.SortOrder
public TestSetSortBy withOrder(SortOrder order)
Specifies whether to sort in ascending or descending order.
order
- Specifies whether to sort in ascending or descending order.SortOrder
public String toString()
toString
in class Object
Object.toString()
public TestSetSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.