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
Modifier and TypeMethodDescriptiondefault DescribeAnomalyResponse.BuilderproactiveAnomaly(Consumer<ProactiveAnomaly.Builder> proactiveAnomaly) AProactiveAnomalyobject that represents the requested anomaly.proactiveAnomaly(ProactiveAnomaly proactiveAnomaly) AProactiveAnomalyobject that represents the requested anomaly.default DescribeAnomalyResponse.BuilderreactiveAnomaly(Consumer<ReactiveAnomaly.Builder> reactiveAnomaly) AReactiveAnomalyobject that represents the requested anomaly.reactiveAnomaly(ReactiveAnomaly reactiveAnomaly) AReactiveAnomalyobject that represents the requested anomaly.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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
- 
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:
 
 - 
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:
 
 
 -