Interface EnableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<EnableRequest.Builder,,EnableRequest> Inspector2Request.Builder,SdkBuilder<EnableRequest.Builder,,EnableRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
EnableRequest
public static interface EnableRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<EnableRequest.Builder,EnableRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds(String... accountIds) A list of account IDs you want to enable Amazon Inspector scans for.accountIds(Collection<String> accountIds) A list of account IDs you want to enable Amazon Inspector scans for.clientToken(String clientToken) The idempotency token for the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTypes(Collection<ResourceScanType> resourceTypes) The resource scan types you want to enable.resourceTypes(ResourceScanType... resourceTypes) The resource scan types you want to enable.resourceTypesWithStrings(String... resourceTypes) The resource scan types you want to enable.resourceTypesWithStrings(Collection<String> resourceTypes) The resource scan types you want to enable.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.services.inspector2.model.Inspector2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountIds
A list of account IDs you want to enable Amazon Inspector scans for.
- Parameters:
accountIds- A list of account IDs you want to enable Amazon Inspector scans for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
A list of account IDs you want to enable Amazon Inspector scans for.
- Parameters:
accountIds- A list of account IDs you want to enable Amazon Inspector scans for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The idempotency token for the request.
- Parameters:
clientToken- The idempotency token for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource scan types you want to enable.
- Parameters:
resourceTypes- The resource scan types you want to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource scan types you want to enable.
- Parameters:
resourceTypes- The resource scan types you want to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource scan types you want to enable.
- Parameters:
resourceTypes- The resource scan types you want to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource scan types you want to enable.
- Parameters:
resourceTypes- The resource scan types you want to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
EnableRequest.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.
-