@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricWindow extends Object implements Serializable, Cloneable, StructuredPojo
Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on).
Constructor and Description |
---|
MetricWindow() |
Modifier and Type | Method and Description |
---|---|
MetricWindow |
clone() |
boolean |
equals(Object obj) |
TumblingWindow |
getTumbling()
The tumbling time interval window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTumbling(TumblingWindow tumbling)
The tumbling time interval window.
|
String |
toString()
Returns a string representation of this object.
|
MetricWindow |
withTumbling(TumblingWindow tumbling)
The tumbling time interval window.
|
public void setTumbling(TumblingWindow tumbling)
The tumbling time interval window.
tumbling
- The tumbling time interval window.public TumblingWindow getTumbling()
The tumbling time interval window.
public MetricWindow withTumbling(TumblingWindow tumbling)
The tumbling time interval window.
tumbling
- The tumbling time interval window.public String toString()
toString
in class Object
Object.toString()
public MetricWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.