@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeBasedCollectionScheme extends Object implements Serializable, Cloneable, StructuredPojo
Information about a collection scheme that uses a time period to decide how often to collect data.
| Constructor and Description |
|---|
TimeBasedCollectionScheme() |
| Modifier and Type | Method and Description |
|---|---|
TimeBasedCollectionScheme |
clone() |
boolean |
equals(Object obj) |
Long |
getPeriodMs()
The time period (in milliseconds) to decide how often to collect data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPeriodMs(Long periodMs)
The time period (in milliseconds) to decide how often to collect data.
|
String |
toString()
Returns a string representation of this object.
|
TimeBasedCollectionScheme |
withPeriodMs(Long periodMs)
The time period (in milliseconds) to decide how often to collect data.
|
public void setPeriodMs(Long periodMs)
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is
60000, the Edge Agent software collects data once every minute.
periodMs - The time period (in milliseconds) to decide how often to collect data. For example, if the time period is
60000, the Edge Agent software collects data once every minute.public Long getPeriodMs()
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is
60000, the Edge Agent software collects data once every minute.
60000, the Edge Agent software collects data once every minute.public TimeBasedCollectionScheme withPeriodMs(Long periodMs)
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is
60000, the Edge Agent software collects data once every minute.
periodMs - The time period (in milliseconds) to decide how often to collect data. For example, if the time period is
60000, the Edge Agent software collects data once every minute.public String toString()
toString in class ObjectObject.toString()public TimeBasedCollectionScheme clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.