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.Builderinsight(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
copyMethods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaInsight.builder().When the
Consumercompletes,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:
-