Interface DisableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DisableRequest.Builder,
,DisableRequest> Inspector2Request.Builder
,SdkBuilder<DisableRequest.Builder,
,DisableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DisableRequest
@Mutable
@NotThreadSafe
public static interface DisableRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<DisableRequest.Builder,DisableRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) An array of account IDs you want to disable Amazon Inspector scans for.accountIds
(Collection<String> accountIds) An array of account IDs you want to disable Amazon Inspector scans for.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 disable.resourceTypes
(ResourceScanType... resourceTypes) The resource scan types you want to disable.resourceTypesWithStrings
(String... resourceTypes) The resource scan types you want to disable.resourceTypesWithStrings
(Collection<String> resourceTypes) The resource scan types you want to disable.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
An array of account IDs you want to disable Amazon Inspector scans for.
- Parameters:
accountIds
- An array of account IDs you want to disable Amazon Inspector scans for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
An array of account IDs you want to disable Amazon Inspector scans for.
- Parameters:
accountIds
- An array of account IDs you want to disable Amazon Inspector scans for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource scan types you want to disable.
- Parameters:
resourceTypes
- The resource scan types you want to disable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource scan types you want to disable.
- Parameters:
resourceTypes
- The resource scan types you want to disable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource scan types you want to disable.
- Parameters:
resourceTypes
- The resource scan types you want to disable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource scan types you want to disable.
- Parameters:
resourceTypes
- The resource scan types you want to disable.- 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
DisableRequest.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.
-