@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsBinBySpecification extends Object implements Serializable, Cloneable, StructuredPojo
Contains the time metric, interval, and method by which to bin the analytics data.
| Constructor and Description |
|---|
AnalyticsBinBySpecification() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsBinBySpecification |
clone() |
boolean |
equals(Object obj) |
String |
getInterval()
Specifies the interval of time by which to bin the analytics data.
|
String |
getName()
Specifies the time metric by which to bin the analytics data.
|
String |
getOrder()
Specifies whether to bin the analytics data in ascending or descending order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInterval(String interval)
Specifies the interval of time by which to bin the analytics data.
|
void |
setName(String name)
Specifies the time metric by which to bin the analytics data.
|
void |
setOrder(String order)
Specifies whether to bin the analytics data in ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsBinBySpecification |
withInterval(AnalyticsInterval interval)
Specifies the interval of time by which to bin the analytics data.
|
AnalyticsBinBySpecification |
withInterval(String interval)
Specifies the interval of time by which to bin the analytics data.
|
AnalyticsBinBySpecification |
withName(AnalyticsBinByName name)
Specifies the time metric by which to bin the analytics data.
|
AnalyticsBinBySpecification |
withName(String name)
Specifies the time metric by which to bin the analytics data.
|
AnalyticsBinBySpecification |
withOrder(AnalyticsSortOrder order)
Specifies whether to bin the analytics data in ascending or descending order.
|
AnalyticsBinBySpecification |
withOrder(String order)
Specifies whether to bin the analytics data in ascending or descending order.
|
public void setName(String name)
Specifies the time metric by which to bin the analytics data.
name - Specifies the time metric by which to bin the analytics data.AnalyticsBinByNamepublic String getName()
Specifies the time metric by which to bin the analytics data.
AnalyticsBinByNamepublic AnalyticsBinBySpecification withName(String name)
Specifies the time metric by which to bin the analytics data.
name - Specifies the time metric by which to bin the analytics data.AnalyticsBinByNamepublic AnalyticsBinBySpecification withName(AnalyticsBinByName name)
Specifies the time metric by which to bin the analytics data.
name - Specifies the time metric by which to bin the analytics data.AnalyticsBinByNamepublic void setInterval(String interval)
Specifies the interval of time by which to bin the analytics data.
interval - Specifies the interval of time by which to bin the analytics data.AnalyticsIntervalpublic String getInterval()
Specifies the interval of time by which to bin the analytics data.
AnalyticsIntervalpublic AnalyticsBinBySpecification withInterval(String interval)
Specifies the interval of time by which to bin the analytics data.
interval - Specifies the interval of time by which to bin the analytics data.AnalyticsIntervalpublic AnalyticsBinBySpecification withInterval(AnalyticsInterval interval)
Specifies the interval of time by which to bin the analytics data.
interval - Specifies the interval of time by which to bin the analytics data.AnalyticsIntervalpublic void setOrder(String order)
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
order - Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank,
the default order is by the key of the bin in descending order.AnalyticsSortOrderpublic String getOrder()
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
AnalyticsSortOrderpublic AnalyticsBinBySpecification withOrder(String order)
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
order - Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank,
the default order is by the key of the bin in descending order.AnalyticsSortOrderpublic AnalyticsBinBySpecification withOrder(AnalyticsSortOrder order)
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
order - Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank,
the default order is by the key of the bin in descending order.AnalyticsSortOrderpublic String toString()
toString in class ObjectObject.toString()public AnalyticsBinBySpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.