@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComparativeOrder extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a comparative order.
Constructor and Description |
---|
ComparativeOrder() |
Modifier and Type | Method and Description |
---|---|
ComparativeOrder |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSpecifedOrder()
The list of columns to be used in the ordering.
|
String |
getTreatUndefinedSpecifiedValues()
The treat of undefined specified values.
|
String |
getUseOrdering()
The ordering type for a column.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSpecifedOrder(Collection<String> specifedOrder)
The list of columns to be used in the ordering.
|
void |
setTreatUndefinedSpecifiedValues(String treatUndefinedSpecifiedValues)
The treat of undefined specified values.
|
void |
setUseOrdering(String useOrdering)
The ordering type for a column.
|
String |
toString()
Returns a string representation of this object.
|
ComparativeOrder |
withSpecifedOrder(Collection<String> specifedOrder)
The list of columns to be used in the ordering.
|
ComparativeOrder |
withSpecifedOrder(String... specifedOrder)
The list of columns to be used in the ordering.
|
ComparativeOrder |
withTreatUndefinedSpecifiedValues(String treatUndefinedSpecifiedValues)
The treat of undefined specified values.
|
ComparativeOrder |
withTreatUndefinedSpecifiedValues(UndefinedSpecifiedValueType treatUndefinedSpecifiedValues)
The treat of undefined specified values.
|
ComparativeOrder |
withUseOrdering(ColumnOrderingType useOrdering)
The ordering type for a column.
|
ComparativeOrder |
withUseOrdering(String useOrdering)
The ordering type for a column.
|
public void setUseOrdering(String useOrdering)
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.
useOrdering
- The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.ColumnOrderingType
public String getUseOrdering()
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.
GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.ColumnOrderingType
public ComparativeOrder withUseOrdering(String useOrdering)
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.
useOrdering
- The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.ColumnOrderingType
public ComparativeOrder withUseOrdering(ColumnOrderingType useOrdering)
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.
useOrdering
- The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
,
LESSER_IS_BETTER
and SPECIFIED
.ColumnOrderingType
public List<String> getSpecifedOrder()
The list of columns to be used in the ordering.
public void setSpecifedOrder(Collection<String> specifedOrder)
The list of columns to be used in the ordering.
specifedOrder
- The list of columns to be used in the ordering.public ComparativeOrder withSpecifedOrder(String... specifedOrder)
The list of columns to be used in the ordering.
NOTE: This method appends the values to the existing list (if any). Use
setSpecifedOrder(java.util.Collection)
or withSpecifedOrder(java.util.Collection)
if you want
to override the existing values.
specifedOrder
- The list of columns to be used in the ordering.public ComparativeOrder withSpecifedOrder(Collection<String> specifedOrder)
The list of columns to be used in the ordering.
specifedOrder
- The list of columns to be used in the ordering.public void setTreatUndefinedSpecifiedValues(String treatUndefinedSpecifiedValues)
The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.
treatUndefinedSpecifiedValues
- The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.UndefinedSpecifiedValueType
public String getTreatUndefinedSpecifiedValues()
The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.
LEAST
and
MOST
.UndefinedSpecifiedValueType
public ComparativeOrder withTreatUndefinedSpecifiedValues(String treatUndefinedSpecifiedValues)
The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.
treatUndefinedSpecifiedValues
- The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.UndefinedSpecifiedValueType
public ComparativeOrder withTreatUndefinedSpecifiedValues(UndefinedSpecifiedValueType treatUndefinedSpecifiedValues)
The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.
treatUndefinedSpecifiedValues
- The treat of undefined specified values. Valid values for this structure are LEAST
and
MOST
.UndefinedSpecifiedValueType
public String toString()
toString
in class Object
Object.toString()
public ComparativeOrder clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.