Interface DescribeInsightResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInsightResponse.Builder,
,DescribeInsightResponse> DevOpsGuruResponse.Builder
,SdkBuilder<DescribeInsightResponse.Builder,
,DescribeInsightResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInsightResponse
@Mutable
@NotThreadSafe
public static interface DescribeInsightResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeInsightResponse.Builder,DescribeInsightResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeInsightResponse.Builder
proactiveInsight
(Consumer<ProactiveInsight.Builder> proactiveInsight) AProactiveInsight
object that represents the requested insight.proactiveInsight
(ProactiveInsight proactiveInsight) AProactiveInsight
object that represents the requested insight.default DescribeInsightResponse.Builder
reactiveInsight
(Consumer<ReactiveInsight.Builder> reactiveInsight) AReactiveInsight
object that represents the requested insight.reactiveInsight
(ReactiveInsight reactiveInsight) AReactiveInsight
object that represents the requested insight.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
-
proactiveInsight
A
ProactiveInsight
object that represents the requested insight.- Parameters:
proactiveInsight
- AProactiveInsight
object that represents the requested insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveInsight
default DescribeInsightResponse.Builder proactiveInsight(Consumer<ProactiveInsight.Builder> proactiveInsight) A
This is a convenience method that creates an instance of theProactiveInsight
object that represents the requested insight.ProactiveInsight.Builder
avoiding the need to create one manually viaProactiveInsight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproactiveInsight(ProactiveInsight)
.- Parameters:
proactiveInsight
- a consumer that will call methods onProactiveInsight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reactiveInsight
A
ReactiveInsight
object that represents the requested insight.- Parameters:
reactiveInsight
- AReactiveInsight
object that represents the requested insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveInsight
default DescribeInsightResponse.Builder reactiveInsight(Consumer<ReactiveInsight.Builder> reactiveInsight) A
This is a convenience method that creates an instance of theReactiveInsight
object that represents the requested insight.ReactiveInsight.Builder
avoiding the need to create one manually viaReactiveInsight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreactiveInsight(ReactiveInsight)
.- Parameters:
reactiveInsight
- a consumer that will call methods onReactiveInsight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-