Package com.influxdb.client.domain
Class PostBucketRequest
java.lang.Object
com.influxdb.client.domain.PostBucketRequest
PostBucketRequest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRetentionRulesItem
(BucketRetentionRules retentionRulesItem) description
(String description) boolean
Get descriptiongetName()
Get namegetOrgID()
Get orgIDRules to expire or retain data.getRp()
Get rpGet schemaTypeint
hashCode()
retentionRules
(List<BucketRetentionRules> retentionRules) schemaType
(SchemaType schemaType) void
setDescription
(String description) void
void
void
setRetentionRules
(List<BucketRetentionRules> retentionRules) void
void
setSchemaType
(SchemaType schemaType) toString()
-
Field Details
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_RP
- See Also:
-
SERIALIZED_NAME_RETENTION_RULES
- See Also:
-
SERIALIZED_NAME_SCHEMA_TYPE
- See Also:
-
-
Constructor Details
-
PostBucketRequest
public PostBucketRequest()
-
-
Method Details
-
orgID
-
getOrgID
Get orgID- Returns:
- orgID
-
setOrgID
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
rp
-
getRp
Get rp- Returns:
- rp
-
setRp
-
retentionRules
-
addRetentionRulesItem
-
getRetentionRules
Rules to expire or retain data. No rules means data never expires.- Returns:
- retentionRules
-
setRetentionRules
-
schemaType
-
getSchemaType
Get schemaType- Returns:
- schemaType
-
setSchemaType
-
equals
-
hashCode
public int hashCode() -
toString
-