Interface DescribeInsightResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInsightResponse.Builder,,DescribeInsightResponse> DevOpsGuruResponse.Builder,SdkBuilder<DescribeInsightResponse.Builder,,DescribeInsightResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInsightResponse
public static interface DescribeInsightResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeInsightResponse.Builder,DescribeInsightResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeInsightResponse.BuilderproactiveInsight(Consumer<ProactiveInsight.Builder> proactiveInsight) AProactiveInsightobject that represents the requested insight.proactiveInsight(ProactiveInsight proactiveInsight) AProactiveInsightobject that represents the requested insight.default DescribeInsightResponse.BuilderreactiveInsight(Consumer<ReactiveInsight.Builder> reactiveInsight) AReactiveInsightobject that represents the requested insight.reactiveInsight(ReactiveInsight reactiveInsight) AReactiveInsightobject that represents the requested insight.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proactiveInsight
A
ProactiveInsightobject that represents the requested insight.- Parameters:
proactiveInsight- AProactiveInsightobject 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 theProactiveInsightobject that represents the requested insight.ProactiveInsight.Builderavoiding the need to create one manually viaProactiveInsight.builder().When the
Consumercompletes,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
ReactiveInsightobject that represents the requested insight.- Parameters:
reactiveInsight- AReactiveInsightobject 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 theReactiveInsightobject that represents the requested insight.ReactiveInsight.Builderavoiding the need to create one manually viaReactiveInsight.builder().When the
Consumercompletes,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:
-