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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInsightsResponse.Builderinsights(Collection<Insight> insights)The insights returned by the operation.GetInsightsResponse.Builderinsights(Consumer<Insight.Builder>... insights)The insights returned by the operation.GetInsightsResponse.Builderinsights(Insight... insights)The insights returned by the operation.GetInsightsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
insights
GetInsightsResponse.Builder insights(Collection<Insight> 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
GetInsightsResponse.Builder insights(Insight... 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
GetInsightsResponse.Builder insights(Consumer<Insight.Builder>... 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 to#insights(List.) - 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:
#insights(java.util.Collection)
-
nextToken
GetInsightsResponse.Builder nextToken(String 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.
-
-