Package com.influxdb.client.domain
Class PatchBucketRequest
java.lang.Object
com.influxdb.client.domain.PatchBucketRequest
Updates to an existing bucket resource.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRetentionRulesItem
(PatchRetentionRule retentionRulesItem) description
(String description) boolean
Get descriptiongetName()
Get nameUpdates to rules to expire or retain data.int
hashCode()
retentionRules
(List<PatchRetentionRule> retentionRules) void
setDescription
(String description) void
void
setRetentionRules
(List<PatchRetentionRule> retentionRules) toString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_RETENTION_RULES
- See Also:
-
-
Constructor Details
-
PatchBucketRequest
public PatchBucketRequest()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
retentionRules
-
addRetentionRulesItem
-
getRetentionRules
Updates to rules to expire or retain data. No rules means no updates.- Returns:
- retentionRules
-
setRetentionRules
-
equals
-
hashCode
public int hashCode() -
toString
-