@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsBinKey extends Object implements Serializable, Cloneable, StructuredPojo
An object containing the criterion by which to bin the results and the value that defines that bin.
| Constructor and Description |
|---|
AnalyticsBinKey() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsBinKey |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The criterion by which to bin the results.
|
Long |
getValue()
The value of the criterion that defines the bin.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The criterion by which to bin the results.
|
void |
setValue(Long value)
The value of the criterion that defines the bin.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsBinKey |
withName(AnalyticsBinByName name)
The criterion by which to bin the results.
|
AnalyticsBinKey |
withName(String name)
The criterion by which to bin the results.
|
AnalyticsBinKey |
withValue(Long value)
The value of the criterion that defines the bin.
|
public void setName(String name)
The criterion by which to bin the results.
name - The criterion by which to bin the results.AnalyticsBinByNamepublic String getName()
The criterion by which to bin the results.
AnalyticsBinByNamepublic AnalyticsBinKey withName(String name)
The criterion by which to bin the results.
name - The criterion by which to bin the results.AnalyticsBinByNamepublic AnalyticsBinKey withName(AnalyticsBinByName name)
The criterion by which to bin the results.
name - The criterion by which to bin the results.AnalyticsBinByNamepublic void setValue(Long value)
The value of the criterion that defines the bin.
value - The value of the criterion that defines the bin.public Long getValue()
The value of the criterion that defines the bin.
public AnalyticsBinKey withValue(Long value)
The value of the criterion that defines the bin.
value - The value of the criterion that defines the bin.public String toString()
toString in class ObjectObject.toString()public AnalyticsBinKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.