@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.
GenerationSortByAttribute
public 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.
GenerationSortByAttribute
public 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.
GenerationSortByAttribute
public 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.
GenerationSortByAttribute
public 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.SortOrder
public String getOrder()
The order by which to sort the generation request information.
SortOrder
public 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.SortOrder
public 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.SortOrder
public String toString()
toString
in class Object
Object.toString()
public GenerationSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.