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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAnomalyGroupResponse.BuilderanomalyGroup(Consumer<AnomalyGroup.Builder> anomalyGroup)Details about the anomaly group.GetAnomalyGroupResponse.BuilderanomalyGroup(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 Detail
-
anomalyGroup
GetAnomalyGroupResponse.Builder anomalyGroup(AnomalyGroup 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
default GetAnomalyGroupResponse.Builder anomalyGroup(Consumer<AnomalyGroup.Builder> anomalyGroup)
Details about the anomaly group.
This is a convenience method that creates an instance of theAnomalyGroup.Builderavoiding the need to create one manually viaAnomalyGroup.builder().When the
Consumercompletes,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:
anomalyGroup(AnomalyGroup)
-
-