@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerationSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the attribute and method by which to sort the generation request information.
| Constructor and Description |
|---|
GenerationSortBy() |
| Modifier and Type | Method and Description |
|---|---|
GenerationSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute by which to sort the generation request information.
|
String |
getOrder()
The order by which to sort the generation request information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttribute(String attribute)
The attribute by which to sort the generation request information.
|
void |
setOrder(String order)
The order by which to sort the generation request information.
|
String |
toString()
Returns a string representation of this object.
|
GenerationSortBy |
withAttribute(GenerationSortByAttribute attribute)
The attribute by which to sort the generation request information.
|
GenerationSortBy |
withAttribute(String attribute)
The attribute by which to sort the generation request information.
|
GenerationSortBy |
withOrder(SortOrder order)
The order by which to sort the generation request information.
|
GenerationSortBy |
withOrder(String order)
The order by which to sort the generation request information.
|
public void setAttribute(String attribute)
The attribute by which to sort the generation request information. You can sort by the following attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
attribute - The attribute by which to sort the generation request information. You can sort by the following
attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
GenerationSortByAttributepublic String getAttribute()
The attribute by which to sort the generation request information. You can sort by the following attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
GenerationSortByAttributepublic GenerationSortBy withAttribute(String attribute)
The attribute by which to sort the generation request information. You can sort by the following attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
attribute - The attribute by which to sort the generation request information. You can sort by the following
attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
GenerationSortByAttributepublic GenerationSortBy withAttribute(GenerationSortByAttribute attribute)
The attribute by which to sort the generation request information. You can sort by the following attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
attribute - The attribute by which to sort the generation request information. You can sort by the following
attributes.
creationStartTime – The time at which the generation request was created.
lastUpdatedTime – The time at which the generation request was last updated.
GenerationSortByAttributepublic void setOrder(String order)
The order by which to sort the generation request information.
order - The order by which to sort the generation request information.SortOrderpublic String getOrder()
The order by which to sort the generation request information.
SortOrderpublic GenerationSortBy withOrder(String order)
The order by which to sort the generation request information.
order - The order by which to sort the generation request information.SortOrderpublic GenerationSortBy withOrder(SortOrder order)
The order by which to sort the generation request information.
order - The order by which to sort the generation request information.SortOrderpublic String toString()
toString in class ObjectObject.toString()public GenerationSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.