Interface DescribeAnomalyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAnomalyResponse.Builder,
,DescribeAnomalyResponse> DevOpsGuruResponse.Builder
,SdkBuilder<DescribeAnomalyResponse.Builder,
,DescribeAnomalyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAnomalyResponse
@Mutable
@NotThreadSafe
public static interface DescribeAnomalyResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyResponse.Builder,DescribeAnomalyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeAnomalyResponse.Builder
proactiveAnomaly
(Consumer<ProactiveAnomaly.Builder> proactiveAnomaly) AProactiveAnomaly
object that represents the requested anomaly.proactiveAnomaly
(ProactiveAnomaly proactiveAnomaly) AProactiveAnomaly
object that represents the requested anomaly.default DescribeAnomalyResponse.Builder
reactiveAnomaly
(Consumer<ReactiveAnomaly.Builder> reactiveAnomaly) AReactiveAnomaly
object that represents the requested anomaly.reactiveAnomaly
(ReactiveAnomaly reactiveAnomaly) AReactiveAnomaly
object 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proactiveAnomaly
A
ProactiveAnomaly
object that represents the requested anomaly.- Parameters:
proactiveAnomaly
- AProactiveAnomaly
object 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 theProactiveAnomaly
object that represents the requested anomaly.ProactiveAnomaly.Builder
avoiding the need to create one manually viaProactiveAnomaly.builder()
.When the
Consumer
completes,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
ReactiveAnomaly
object that represents the requested anomaly.- Parameters:
reactiveAnomaly
- AReactiveAnomaly
object 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 theReactiveAnomaly
object that represents the requested anomaly.ReactiveAnomaly.Builder
avoiding the need to create one manually viaReactiveAnomaly.builder()
.When the
Consumer
completes,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:
-