Package com.influxdb.client.domain
Class Bucket
java.lang.Object
com.influxdb.client.domain.Bucket
Bucket
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem
(Label labelsItem) addRetentionRulesItem
(BucketRetentionRules retentionRulesItem) description
(String description) boolean
Get createdAtGet descriptiongetId()
Get idGet labelsgetLinks()
Get linksgetName()
Get namegetOrgID()
Get orgIDRules to expire or retain data.getRp()
Get rpGet schemaTypegetType()
Get typeGet updatedAtint
hashCode()
links
(BucketLinks links) retentionRules
(List<BucketRetentionRules> retentionRules) schemaType
(SchemaType schemaType) void
setDescription
(String description) void
void
setLinks
(BucketLinks links) void
void
void
setRetentionRules
(List<BucketRetentionRules> retentionRules) void
void
setSchemaType
(SchemaType schemaType) toString()
-
Field Details
-
SERIALIZED_NAME_LINKS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_RP
- See Also:
-
SERIALIZED_NAME_SCHEMA_TYPE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_RETENTION_RULES
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
-
Constructor Details
-
Bucket
public Bucket()
-
-
Method Details
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
getId
Get id- Returns:
- id
-
getType
Get type- Returns:
- type
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
orgID
-
getOrgID
Get orgID- Returns:
- orgID
-
setOrgID
-
rp
-
getRp
Get rp- Returns:
- rp
-
setRp
-
schemaType
-
getSchemaType
Get schemaType- Returns:
- schemaType
-
setSchemaType
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
retentionRules
-
addRetentionRulesItem
-
getRetentionRules
Rules to expire or retain data. No rules means data never expires.- Returns:
- retentionRules
-
setRetentionRules
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
equals
-
hashCode
public int hashCode() -
toString
-