Class DiagnosticsOptions
- java.lang.Object
-
- com.couchbase.client.java.diagnostics.DiagnosticsOptions
-
public class DiagnosticsOptions extends Object
Allows to customize the diagnostics report.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DiagnosticsOptions.Built
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiagnosticsOptions.Built
build()
static DiagnosticsOptions
diagnosticsOptions()
Creates a new set ofDiagnosticsOptions
.DiagnosticsOptions
reportId(String reportId)
Sets a custom report ID that will be used in the report.
-
-
-
Method Detail
-
diagnosticsOptions
public static DiagnosticsOptions diagnosticsOptions()
Creates a new set ofDiagnosticsOptions
.- Returns:
- options to customize.
-
reportId
public DiagnosticsOptions reportId(String reportId)
Sets a custom report ID that will be used in the report.If no report ID is provided, the client will generate a unique one.
- Parameters:
reportId
- the report ID that should be used for this report.- Returns:
- the
DiagnosticsOptions
to allow method chaining.
-
build
@Internal public DiagnosticsOptions.Built build()
-
-