Interface EnableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EnableRequest.Builder,
,EnableRequest> Inspector2Request.Builder
,SdkBuilder<EnableRequest.Builder,
,EnableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EnableRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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
EnableRequest.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.
-