@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)
Marshalls this structured data using the given
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.SortValue
public String getValue()
The sort value of a sort object.
SortValue
public Sort withValue(String value)
The sort value of a sort object.
value
- The sort value of a sort object.SortValue
public Sort withValue(SortValue value)
The sort value of a sort object.
value
- The sort value of a sort object.SortValue
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.