Class DBRP

java.lang.Object
com.influxdb.client.domain.DBRP

public class DBRP extends Object
DBRP
  • Field Details

  • Constructor Details

    • DBRP

      public DBRP()
  • Method Details

    • getId

      public String getId()
      ID of the DBRP mapping.
      Returns:
      id
    • orgID

      public DBRP orgID(String orgID)
    • getOrgID

      public String getOrgID()
      ID of the organization that owns this mapping.
      Returns:
      orgID
    • setOrgID

      public void setOrgID(String orgID)
    • bucketID

      public DBRP bucketID(String bucketID)
    • getBucketID

      public String getBucketID()
      ID of the bucket used as the target for the translation.
      Returns:
      bucketID
    • setBucketID

      public void setBucketID(String bucketID)
    • database

      public DBRP database(String database)
    • getDatabase

      public String getDatabase()
      InfluxDB v1 database
      Returns:
      database
    • setDatabase

      public void setDatabase(String database)
    • retentionPolicy

      public DBRP retentionPolicy(String retentionPolicy)
    • getRetentionPolicy

      public String getRetentionPolicy()
      InfluxDB v1 retention policy
      Returns:
      retentionPolicy
    • setRetentionPolicy

      public void setRetentionPolicy(String retentionPolicy)
    • _default

      public DBRP _default(Boolean _default)
    • getDefault

      public Boolean getDefault()
      Mapping represents the default retention policy for the database specified.
      Returns:
      _default
    • setDefault

      public void setDefault(Boolean _default)
    • links

      public DBRP links(Links links)
    • getLinks

      public Links getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(Links links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object