Interface DisableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DisableRequest.Builder,,DisableRequest> Inspector2Request.Builder,SdkBuilder<DisableRequest.Builder,,DisableRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DisableRequest
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-