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
overrideConfiguration
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.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
insightArns
The ARNs of the insights to describe. If you do not provide any insight ARNs, then
GetInsights
returns all of your custom insights. It does not return any managed insights.- Parameters:
insightArns
- The ARNs of the insights to describe. If you do not provide any insight ARNs, thenGetInsights
returns 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 do not provide any insight ARNs, then
GetInsights
returns all of your custom insights. It does not return any managed insights.- Parameters:
insightArns
- The ARNs of the insights to describe. If you do not provide any insight ARNs, thenGetInsights
returns 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
GetInsights
operation, 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 theGetInsights
operation, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-