Class OnboardingRequest

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

public class OnboardingRequest extends Object
OnboardingRequest
  • Field Details

  • Constructor Details

    • OnboardingRequest

      public OnboardingRequest()
  • Method Details

    • username

      public OnboardingRequest username(String username)
    • getUsername

      public String getUsername()
      Get username
      Returns:
      username
    • setUsername

      public void setUsername(String username)
    • password

      public OnboardingRequest password(String password)
    • getPassword

      public String getPassword()
      Get password
      Returns:
      password
    • setPassword

      public void setPassword(String password)
    • org

      public OnboardingRequest org(String org)
    • getOrg

      public String getOrg()
      Get org
      Returns:
      org
    • setOrg

      public void setOrg(String org)
    • bucket

      public OnboardingRequest bucket(String bucket)
    • getBucket

      public String getBucket()
      Get bucket
      Returns:
      bucket
    • setBucket

      public void setBucket(String bucket)
    • retentionPeriodSeconds

      public OnboardingRequest retentionPeriodSeconds(Long retentionPeriodSeconds)
    • getRetentionPeriodSeconds

      public Long getRetentionPeriodSeconds()
      Get retentionPeriodSeconds
      Returns:
      retentionPeriodSeconds
    • setRetentionPeriodSeconds

      public void setRetentionPeriodSeconds(Long retentionPeriodSeconds)
    • retentionPeriodHrs

      public OnboardingRequest retentionPeriodHrs(Integer retentionPeriodHrs)
    • getRetentionPeriodHrs

      public Integer getRetentionPeriodHrs()
      Retention period *in nanoseconds* for the new bucket. This key's name has been misleading since OSS 2.0 GA, please transition to use `retentionPeriodSeconds`
      Returns:
      retentionPeriodHrs
    • setRetentionPeriodHrs

      public void setRetentionPeriodHrs(Integer retentionPeriodHrs)
    • token

      public OnboardingRequest token(String token)
    • getToken

      public String getToken()
      Authentication token to set on the initial user. If not specified, the server will generate a token.
      Returns:
      token
    • setToken

      public void setToken(String token)
    • 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