Interface DetectMetricSetConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectMetricSetConfigResponse.Builder,,DetectMetricSetConfigResponse> LookoutMetricsResponse.Builder,SdkBuilder<DetectMetricSetConfigResponse.Builder,,DetectMetricSetConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DetectMetricSetConfigResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDetectedMetricSetConfig.builder().When the
Consumercompletes,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:
-