Interface DescribeAnomalyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAnomalyResponse.Builder,DescribeAnomalyResponse>,DevOpsGuruResponse.Builder,SdkBuilder<DescribeAnomalyResponse.Builder,DescribeAnomalyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAnomalyResponse
public static interface DescribeAnomalyResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyResponse.Builder,DescribeAnomalyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeAnomalyResponse.BuilderproactiveAnomaly(Consumer<ProactiveAnomaly.Builder> proactiveAnomaly)AProactiveAnomalyobject that represents the requested anomaly.DescribeAnomalyResponse.BuilderproactiveAnomaly(ProactiveAnomaly proactiveAnomaly)AProactiveAnomalyobject that represents the requested anomaly.default DescribeAnomalyResponse.BuilderreactiveAnomaly(Consumer<ReactiveAnomaly.Builder> reactiveAnomaly)AReactiveAnomalyobject that represents the requested anomaly.DescribeAnomalyResponse.BuilderreactiveAnomaly(ReactiveAnomaly reactiveAnomaly)AReactiveAnomalyobject that represents the requested anomaly.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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
-
proactiveAnomaly
DescribeAnomalyResponse.Builder proactiveAnomaly(ProactiveAnomaly proactiveAnomaly)
A
ProactiveAnomalyobject that represents the requested anomaly.- Parameters:
proactiveAnomaly- AProactiveAnomalyobject that represents the requested anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveAnomaly
default DescribeAnomalyResponse.Builder proactiveAnomaly(Consumer<ProactiveAnomaly.Builder> proactiveAnomaly)
A
This is a convenience method that creates an instance of theProactiveAnomalyobject that represents the requested anomaly.ProactiveAnomaly.Builderavoiding the need to create one manually viaProactiveAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproactiveAnomaly(ProactiveAnomaly).- Parameters:
proactiveAnomaly- a consumer that will call methods onProactiveAnomaly.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
proactiveAnomaly(ProactiveAnomaly)
-
reactiveAnomaly
DescribeAnomalyResponse.Builder reactiveAnomaly(ReactiveAnomaly reactiveAnomaly)
A
ReactiveAnomalyobject that represents the requested anomaly.- Parameters:
reactiveAnomaly- AReactiveAnomalyobject that represents the requested anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveAnomaly
default DescribeAnomalyResponse.Builder reactiveAnomaly(Consumer<ReactiveAnomaly.Builder> reactiveAnomaly)
A
This is a convenience method that creates an instance of theReactiveAnomalyobject that represents the requested anomaly.ReactiveAnomaly.Builderavoiding the need to create one manually viaReactiveAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreactiveAnomaly(ReactiveAnomaly).- Parameters:
reactiveAnomaly- a consumer that will call methods onReactiveAnomaly.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
reactiveAnomaly(ReactiveAnomaly)
-
-