public class PatchRetentionRule extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PatchRetentionRule.TypeEnum
Gets or Sets type
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_EVERY_SECONDS |
static String |
SERIALIZED_NAME_SHARD_GROUP_DURATION_SECONDS |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
PatchRetentionRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PatchRetentionRule |
everySeconds(Integer everySeconds) |
Integer |
getEverySeconds()
Duration in seconds for how long data will be kept in the database.
|
Long |
getShardGroupDurationSeconds()
Shard duration measured in seconds.
|
PatchRetentionRule.TypeEnum |
getType()
Get type
|
int |
hashCode() |
void |
setEverySeconds(Integer everySeconds) |
void |
setShardGroupDurationSeconds(Long shardGroupDurationSeconds) |
PatchRetentionRule |
shardGroupDurationSeconds(Long shardGroupDurationSeconds) |
String |
toString() |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_EVERY_SECONDS
public static final String SERIALIZED_NAME_SHARD_GROUP_DURATION_SECONDS
public PatchRetentionRule.TypeEnum getType()
public PatchRetentionRule everySeconds(Integer everySeconds)
public Integer getEverySeconds()
public void setEverySeconds(Integer everySeconds)
public PatchRetentionRule shardGroupDurationSeconds(Long shardGroupDurationSeconds)
public Long getShardGroupDurationSeconds()
public void setShardGroupDurationSeconds(Long shardGroupDurationSeconds)
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.