public class BucketRetentionRules extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BucketRetentionRules.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 |
|---|
BucketRetentionRules() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BucketRetentionRules |
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.
|
BucketRetentionRules.TypeEnum |
getType()
Get type
|
int |
hashCode() |
void |
setEverySeconds(Integer everySeconds) |
void |
setShardGroupDurationSeconds(Long shardGroupDurationSeconds) |
BucketRetentionRules |
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 BucketRetentionRules.TypeEnum getType()
public BucketRetentionRules everySeconds(Integer everySeconds)
public Integer getEverySeconds()
public void setEverySeconds(Integer everySeconds)
public BucketRetentionRules shardGroupDurationSeconds(Long shardGroupDurationSeconds)
public Long getShardGroupDurationSeconds()
public void setShardGroupDurationSeconds(Long shardGroupDurationSeconds)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.