@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Sort extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a sort criteria.
| Constructor and Description |
|---|
Sort() |
| Modifier and Type | Method and Description |
|---|---|
Sort |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The sort key of a sort object.
|
String |
getValue()
The sort value of a sort object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The sort key of a sort object.
|
void |
setValue(String value)
The sort value of a sort object.
|
String |
toString()
Returns a string representation of this object.
|
Sort |
withKey(String key)
The sort key of a sort object.
|
Sort |
withValue(SortValue value)
The sort value of a sort object.
|
Sort |
withValue(String value)
The sort value of a sort object.
|
public void setKey(String key)
The sort key of a sort object.
key - The sort key of a sort object.public String getKey()
The sort key of a sort object.
public Sort withKey(String key)
The sort key of a sort object.
key - The sort key of a sort object.public void setValue(String value)
The sort value of a sort object.
value - The sort value of a sort object.SortValuepublic String getValue()
The sort value of a sort object.
SortValuepublic Sort withValue(String value)
The sort value of a sort object.
value - The sort value of a sort object.SortValuepublic Sort withValue(SortValue value)
The sort value of a sort object.
value - The sort value of a sort object.SortValuepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.