Interface GetInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInsightsResponse.Builder,
,GetInsightsResponse> SdkBuilder<GetInsightsResponse.Builder,
,GetInsightsResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetInsightsResponse
public static interface GetInsightsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetInsightsResponse.Builder,GetInsightsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninsights
(Collection<Insight> insights) The insights returned by the operation.insights
(Consumer<Insight.Builder>... insights) The insights returned by the operation.The insights returned by the operation.The pagination token to use to request the next page of results.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.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
insights
The insights returned by the operation.
- Parameters:
insights
- The insights returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The insights returned by the operation.
- Parameters:
insights
- The insights returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The insights returned by the operation.
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 toinsights(List<Insight>)
.- Parameters:
insights
- 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:
-
nextToken
The pagination token to use to request the next page of results.
- Parameters:
nextToken
- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-