Interface DetectMetricSetConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DetectMetricSetConfigResponse.Builder,
,DetectMetricSetConfigResponse> LookoutMetricsResponse.Builder
,SdkBuilder<DetectMetricSetConfigResponse.Builder,
,DetectMetricSetConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DetectMetricSetConfigResponse
public static interface DetectMetricSetConfigResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<DetectMetricSetConfigResponse.Builder,DetectMetricSetConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondetectedMetricSetConfig
(Consumer<DetectedMetricSetConfig.Builder> detectedMetricSetConfig) The inferred dataset configuration for the datasource.detectedMetricSetConfig
(DetectedMetricSetConfig detectedMetricSetConfig) The inferred dataset configuration for the datasource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
detectedMetricSetConfig
DetectMetricSetConfigResponse.Builder detectedMetricSetConfig(DetectedMetricSetConfig detectedMetricSetConfig) The inferred dataset configuration for the datasource.
- Parameters:
detectedMetricSetConfig
- The inferred dataset configuration for the datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectedMetricSetConfig
default DetectMetricSetConfigResponse.Builder detectedMetricSetConfig(Consumer<DetectedMetricSetConfig.Builder> detectedMetricSetConfig) The inferred dataset configuration for the datasource.
This is a convenience method that creates an instance of theDetectedMetricSetConfig.Builder
avoiding the need to create one manually viaDetectedMetricSetConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetectedMetricSetConfig(DetectedMetricSetConfig)
.- Parameters:
detectedMetricSetConfig
- a consumer that will call methods onDetectedMetricSetConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-