Interface GetInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetInsightsRequest.Builder,,GetInsightsRequest> SdkBuilder<GetInsightsRequest.Builder,,GetInsightsRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetInsightsRequest
-
Method Summary
Modifier and TypeMethodDescriptioninsightArns(String... insightArns) The ARNs of the insights to describe.insightArns(Collection<String> insightArns) The ARNs of the insights to describe.maxResults(Integer maxResults) The maximum number of items to return in the response.The token that is required for pagination.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
insightArns
The ARNs of the insights to describe. If you don't provide any insight ARNs, then
GetInsightsreturns all of your custom insights. It does not return any managed insights.- Parameters:
insightArns- The ARNs of the insights to describe. If you don't provide any insight ARNs, thenGetInsightsreturns all of your custom insights. It does not return any managed insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightArns
The ARNs of the insights to describe. If you don't provide any insight ARNs, then
GetInsightsreturns all of your custom insights. It does not return any managed insights.- Parameters:
insightArns- The ARNs of the insights to describe. If you don't provide any insight ARNs, thenGetInsightsreturns all of your custom insights. It does not return any managed insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token that is required for pagination. On your first call to the
GetInsightsoperation, set the value of this parameter toNULL.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
- Parameters:
nextToken- The token that is required for pagination. On your first call to theGetInsightsoperation, set the value of this parameter toNULL.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return in the response.
- Parameters:
maxResults- The maximum number of items to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetInsightsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-