@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationType extends Object implements Serializable, Cloneable, StructuredPojo
The type of aggregation queries.
| Constructor and Description |
|---|
AggregationType() |
| Modifier and Type | Method and Description |
|---|---|
AggregationType |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the aggregation type.
|
List<String> |
getValues()
A list of the values of aggregation types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the aggregation type.
|
void |
setValues(Collection<String> values)
A list of the values of aggregation types.
|
String |
toString()
Returns a string representation of this object.
|
AggregationType |
withName(AggregationTypeName name)
The name of the aggregation type.
|
AggregationType |
withName(String name)
The name of the aggregation type.
|
AggregationType |
withValues(Collection<String> values)
A list of the values of aggregation types.
|
AggregationType |
withValues(String... values)
A list of the values of aggregation types.
|
public void setName(String name)
The name of the aggregation type.
name - The name of the aggregation type.AggregationTypeNamepublic String getName()
The name of the aggregation type.
AggregationTypeNamepublic AggregationType withName(String name)
The name of the aggregation type.
name - The name of the aggregation type.AggregationTypeNamepublic AggregationType withName(AggregationTypeName name)
The name of the aggregation type.
name - The name of the aggregation type.AggregationTypeNamepublic List<String> getValues()
A list of the values of aggregation types.
public void setValues(Collection<String> values)
A list of the values of aggregation types.
values - A list of the values of aggregation types.public AggregationType withValues(String... values)
A list of the values of aggregation types.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - A list of the values of aggregation types.public AggregationType withValues(Collection<String> values)
A list of the values of aggregation types.
values - A list of the values of aggregation types.public String toString()
toString in class ObjectObject.toString()public AggregationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.