Interface GetAnomalyGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAnomalyGroupResponse.Builder,
,GetAnomalyGroupResponse> LookoutMetricsResponse.Builder
,SdkBuilder<GetAnomalyGroupResponse.Builder,
,GetAnomalyGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAnomalyGroupResponse
public static interface GetAnomalyGroupResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<GetAnomalyGroupResponse.Builder,GetAnomalyGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAnomalyGroupResponse.Builder
anomalyGroup
(Consumer<AnomalyGroup.Builder> anomalyGroup) Details about the anomaly group.anomalyGroup
(AnomalyGroup anomalyGroup) Details about the anomaly group.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
-
anomalyGroup
Details about the anomaly group.
- Parameters:
anomalyGroup
- Details about the anomaly group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyGroup
Details about the anomaly group.
This is a convenience method that creates an instance of theAnomalyGroup.Builder
avoiding the need to create one manually viaAnomalyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyGroup(AnomalyGroup)
.- Parameters:
anomalyGroup
- a consumer that will call methods onAnomalyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-