Interface GetInsightResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInsightResponse.Builder,GetInsightResponse>,SdkBuilder<GetInsightResponse.Builder,GetInsightResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetInsightResponse
@Mutable @NotThreadSafe public static interface GetInsightResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetInsightResponse.Builder,GetInsightResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetInsightResponse.Builderinsight(Consumer<Insight.Builder> insight)The summary information of an insight.GetInsightResponse.Builderinsight(Insight 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, sdkFieldNameToField, 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 Detail
-
insight
GetInsightResponse.Builder insight(Insight 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
default GetInsightResponse.Builder insight(Consumer<Insight.Builder> 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:
insight(Insight)
-
-