Package com.influxdb.client.domain
Class OnboardingRequest
java.lang.Object
com.influxdb.client.domain.OnboardingRequest
OnboardingRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet bucketgetOrg()Get orgGet passwordRetention period *in nanoseconds* for the new bucket.Get retentionPeriodSecondsgetToken()Authentication token to set on the initial user.Get usernameinthashCode()retentionPeriodHrs(Integer retentionPeriodHrs) retentionPeriodSeconds(Long retentionPeriodSeconds) voidvoidvoidsetPassword(String password) voidsetRetentionPeriodHrs(Integer retentionPeriodHrs) voidsetRetentionPeriodSeconds(Long retentionPeriodSeconds) voidvoidsetUsername(String username) toString()
-
Field Details
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_ORG
- See Also:
-
SERIALIZED_NAME_BUCKET
- See Also:
-
SERIALIZED_NAME_RETENTION_PERIOD_SECONDS
- See Also:
-
SERIALIZED_NAME_RETENTION_PERIOD_HRS
- See Also:
-
SERIALIZED_NAME_TOKEN
- See Also:
-
-
Constructor Details
-
OnboardingRequest
public OnboardingRequest()
-
-
Method Details
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
password
-
getPassword
Get password- Returns:
- password
-
setPassword
-
org
-
getOrg
Get org- Returns:
- org
-
setOrg
-
bucket
-
getBucket
Get bucket- Returns:
- bucket
-
setBucket
-
retentionPeriodSeconds
-
getRetentionPeriodSeconds
Get retentionPeriodSeconds- Returns:
- retentionPeriodSeconds
-
setRetentionPeriodSeconds
-
retentionPeriodHrs
-
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
-
token
-
getToken
Authentication token to set on the initial user. If not specified, the server will generate a token.- Returns:
- token
-
setToken
-
equals
-
hashCode
public int hashCode() -
toString
-