Interface GetInsightResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInsightResponse.Builder,
,GetInsightResponse> SdkBuilder<GetInsightResponse.Builder,
,GetInsightResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
GetInsightResponse
public static interface GetInsightResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetInsightResponse.Builder,GetInsightResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetInsightResponse.Builder
insight
(Consumer<Insight.Builder> insight) The summary information of an insight.The summary information of an insight.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
insight
The summary information of an insight.
- Parameters:
insight
- The summary information of an insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insight
The summary information of an insight.
This is a convenience method that creates an instance of theInsight.Builder
avoiding the need to create one manually viaInsight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsight(Insight)
.- Parameters:
insight
- a consumer that will call methods onInsight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-