public class PatchBucketRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_RETENTION_RULES |
| Constructor and Description |
|---|
PatchBucketRequest() |
| Modifier and Type | Method and Description |
|---|---|
PatchBucketRequest |
addRetentionRulesItem(PatchRetentionRule retentionRulesItem) |
PatchBucketRequest |
description(String description) |
boolean |
equals(Object o) |
String |
getDescription()
Get description
|
String |
getName()
Get name
|
List<PatchRetentionRule> |
getRetentionRules()
Updates to rules to expire or retain data.
|
int |
hashCode() |
PatchBucketRequest |
name(String name) |
PatchBucketRequest |
retentionRules(List<PatchRetentionRule> retentionRules) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setRetentionRules(List<PatchRetentionRule> retentionRules) |
String |
toString() |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_RETENTION_RULES
public PatchBucketRequest name(String name)
public String getName()
public void setName(String name)
public PatchBucketRequest description(String description)
public String getDescription()
public void setDescription(String description)
public PatchBucketRequest retentionRules(List<PatchRetentionRule> retentionRules)
public PatchBucketRequest addRetentionRulesItem(PatchRetentionRule retentionRulesItem)
public List<PatchRetentionRule> getRetentionRules()
public void setRetentionRules(List<PatchRetentionRule> retentionRules)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.