Package com.influxdb.client.domain
Class DBRP
java.lang.Object
com.influxdb.client.domain.DBRP
DBRP
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ID of the bucket used as the target for the translation.InfluxDB v1 databaseMapping represents the default retention policy for the database specified.getId()
ID of the DBRP mapping.getLinks()
Get linksgetOrgID()
ID of the organization that owns this mapping.InfluxDB v1 retention policyint
hashCode()
retentionPolicy
(String retentionPolicy) void
setBucketID
(String bucketID) void
setDatabase
(String database) void
setDefault
(Boolean _default) void
void
void
setRetentionPolicy
(String retentionPolicy) toString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_BUCKET_I_D
- See Also:
-
SERIALIZED_NAME_DATABASE
- See Also:
-
SERIALIZED_NAME_RETENTION_POLICY
- See Also:
-
SERIALIZED_NAME_DEFAULT
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
-
Constructor Details
-
DBRP
public DBRP()
-
-
Method Details
-
getId
ID of the DBRP mapping.- Returns:
- id
-
orgID
-
getOrgID
ID of the organization that owns this mapping.- Returns:
- orgID
-
setOrgID
-
bucketID
-
getBucketID
ID of the bucket used as the target for the translation.- Returns:
- bucketID
-
setBucketID
-
database
-
getDatabase
InfluxDB v1 database- Returns:
- database
-
setDatabase
-
retentionPolicy
-
getRetentionPolicy
InfluxDB v1 retention policy- Returns:
- retentionPolicy
-
setRetentionPolicy
-
_default
-
getDefault
Mapping represents the default retention policy for the database specified.- Returns:
- _default
-
setDefault
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-