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