public static final class ResponseMetadata.Builder extends Object
ResponseMetadata.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResponseMetadata |
build()
Builds a new
ResponseMetadata instance with the values set in this builder. |
ResponseMetadata.Builder |
dbBuildType(BuildType dbBuildType)
Sets the build type of the InfluxDB instance.
|
ResponseMetadata.Builder |
dbVersion(Version dbVersion)
Sets the version of the InfluxDB instance.
|
ResponseMetadata.Builder |
requestId(String requestId)
Sets the request ID of the response
|
ResponseMetadata.Builder |
timestamp(Instant timestamp)
Sets the timestamp of the response.
|
public ResponseMetadata.Builder timestamp(Instant timestamp)
timestamp - the response timestamppublic ResponseMetadata.Builder requestId(String requestId)
requestId - the response request IDpublic ResponseMetadata.Builder dbBuildType(BuildType dbBuildType)
dbBuildType - the database build typepublic ResponseMetadata.Builder dbVersion(Version dbVersion)
dbVersion - the database versionpublic ResponseMetadata build()
ResponseMetadata instance with the values set in this builder.Copyright © 2020. All rights reserved.