Interface GetAnomalyGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAnomalyGroupResponse.Builder,,GetAnomalyGroupResponse> LookoutMetricsResponse.Builder,SdkBuilder<GetAnomalyGroupResponse.Builder,,GetAnomalyGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAnomalyGroupResponse
@Mutable
@NotThreadSafe
public static interface GetAnomalyGroupResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<GetAnomalyGroupResponse.Builder,GetAnomalyGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAnomalyGroupResponse.BuilderanomalyGroup(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
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
-
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.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:
-