public static interface GetInsightsResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetInsightsResponse.Builder,GetInsightsResponse>
Modifier and Type | Method and Description |
---|---|
GetInsightsResponse.Builder |
insights(Collection<Insight> insights)
The insights returned by the operation.
|
GetInsightsResponse.Builder |
insights(Consumer<Insight.Builder>... insights)
The insights returned by the operation.
|
GetInsightsResponse.Builder |
insights(Insight... insights)
The insights returned by the operation.
|
GetInsightsResponse.Builder |
nextToken(String nextToken)
The token that is required for pagination.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetInsightsResponse.Builder insights(Collection<Insight> insights)
The insights returned by the operation.
insights
- The insights returned by the operation.GetInsightsResponse.Builder insights(Insight... insights)
The insights returned by the operation.
insights
- The insights returned by the operation.GetInsightsResponse.Builder insights(Consumer<Insight.Builder>... insights)
The insights returned by the operation.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #insights(List)
.insights
- a consumer that will call methods on List.Builder
#insights(List)
GetInsightsResponse.Builder nextToken(String nextToken)
The token that is required for pagination.
nextToken
- The token that is required for pagination.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.