Interface DescribeInsightDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInsightDetailsResponse.Builder,,DescribeInsightDetailsResponse> OpenSearchResponse.Builder,SdkBuilder<DescribeInsightDetailsResponse.Builder,,DescribeInsightDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInsightDetailsResponse
@Mutable
@NotThreadSafe
public static interface DescribeInsightDetailsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeInsightDetailsResponse.Builder,DescribeInsightDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<InsightField> fields) The list of fields that contain detailed information about the insight.fields(Consumer<InsightField.Builder>... fields) The list of fields that contain detailed information about the insight.fields(InsightField... fields) The list of fields that contain detailed information about the insight.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fields
The list of fields that contain detailed information about the insight.
- Parameters:
fields- The list of fields that contain detailed information about the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of fields that contain detailed information about the insight.
- Parameters:
fields- The list of fields that contain detailed information about the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of fields that contain detailed information about the insight.
This is a convenience method that creates an instance of theInsightField.Builderavoiding the need to create one manually viaInsightField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<InsightField>).- Parameters:
fields- a consumer that will call methods onInsightField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-