Interface UpdateCisScanConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCisScanConfigurationRequest.Builder,
,UpdateCisScanConfigurationRequest> Inspector2Request.Builder
,SdkBuilder<UpdateCisScanConfigurationRequest.Builder,
,UpdateCisScanConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCisScanConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scanConfigurationArn
(String scanConfigurationArn) The CIS scan configuration ARN.The scan name for the CIS scan configuration.schedule
(Consumer<Schedule.Builder> schedule) The schedule for the CIS scan configuration.The schedule for the CIS scan configuration.securityLevel
(String securityLevel) The security level for the CIS scan configuration.securityLevel
(CisSecurityLevel securityLevel) The security level for the CIS scan configuration.targets
(Consumer<UpdateCisTargets.Builder> targets) The targets for the CIS scan configuration.targets
(UpdateCisTargets targets) The targets for the CIS scan 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.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, sdkFields
-
Method Details
-
scanConfigurationArn
The CIS scan configuration ARN.
- Parameters:
scanConfigurationArn
- The CIS scan configuration ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanName
The scan name for the CIS scan configuration.
- Parameters:
scanName
- The scan name for the CIS scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule for the CIS scan configuration.
- Parameters:
schedule
- The schedule for the CIS scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule for the CIS scan configuration.
This is a convenience method that creates an instance of theSchedule.Builder
avoiding the need to create one manually viaSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(Schedule)
.- Parameters:
schedule
- a consumer that will call methods onSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityLevel
The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
- Parameters:
securityLevel
- The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityLevel
The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
- Parameters:
securityLevel
- The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
The targets for the CIS scan configuration.
- Parameters:
targets
- The targets for the CIS scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
default UpdateCisScanConfigurationRequest.Builder targets(Consumer<UpdateCisTargets.Builder> targets) The targets for the CIS scan configuration.
This is a convenience method that creates an instance of theUpdateCisTargets.Builder
avoiding the need to create one manually viaUpdateCisTargets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(UpdateCisTargets)
.- Parameters:
targets
- a consumer that will call methods onUpdateCisTargets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCisScanConfigurationRequest.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
UpdateCisScanConfigurationRequest.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.
-