@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.AnalyticsBinByName
public String getName()
Specifies the time metric by which to bin the analytics data.
AnalyticsBinByName
public 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.AnalyticsBinByName
public 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.AnalyticsBinByName
public 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.AnalyticsInterval
public String getInterval()
Specifies the interval of time by which to bin the analytics data.
AnalyticsInterval
public 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.AnalyticsInterval
public 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.AnalyticsInterval
public 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.AnalyticsSortOrder
public 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.
AnalyticsSortOrder
public 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.AnalyticsSortOrder
public 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.AnalyticsSortOrder
public String toString()
toString
in class Object
Object.toString()
public AnalyticsBinBySpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.