public static interface MetricSpecification.Builder extends SdkPojo, CopyableBuilder<MetricSpecification.Builder,MetricSpecification>
| Modifier and Type | Method and Description |
|---|---|
default MetricSpecification.Builder |
customized(Consumer<CustomizedMetricSpecification.Builder> customized)
Information about a customized metric.
|
MetricSpecification.Builder |
customized(CustomizedMetricSpecification customized)
Information about a customized metric.
|
default MetricSpecification.Builder |
predefined(Consumer<PredefinedMetricSpecification.Builder> predefined)
Information about a predefined metric.
|
MetricSpecification.Builder |
predefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricSpecification.Builder predefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
predefined - Information about a predefined metric.default MetricSpecification.Builder predefined(Consumer<PredefinedMetricSpecification.Builder> predefined)
Information about a predefined metric.
This is a convenience method that creates an instance of thePredefinedMetricSpecification.Builder
avoiding the need to create one manually via PredefinedMetricSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to predefined(PredefinedMetricSpecification).
predefined - a consumer that will call methods on PredefinedMetricSpecification.Builderpredefined(PredefinedMetricSpecification)MetricSpecification.Builder customized(CustomizedMetricSpecification customized)
Information about a customized metric.
customized - Information about a customized metric.default MetricSpecification.Builder customized(Consumer<CustomizedMetricSpecification.Builder> customized)
Information about a customized metric.
This is a convenience method that creates an instance of theCustomizedMetricSpecification.Builder
avoiding the need to create one manually via CustomizedMetricSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to customized(CustomizedMetricSpecification).
customized - a consumer that will call methods on CustomizedMetricSpecification.Buildercustomized(CustomizedMetricSpecification)Copyright © 2023. All rights reserved.