Interface CreateCisScanConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCisScanConfigurationRequest.Builder,,CreateCisScanConfigurationRequest> Inspector2Request.Builder,SdkBuilder<CreateCisScanConfigurationRequest.Builder,,CreateCisScanConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCisScanConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.The tags for the CIS scan configuration.targets(Consumer<CreateCisTargets.Builder> targets) The targets for the CIS scan configuration.targets(CreateCisTargets targets) The targets for the CIS scan configuration.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
-
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.Builderavoiding the need to create one manually viaSchedule.builder().When the
Consumercompletes,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:
-
tags
The tags for the CIS scan configuration.
- Parameters:
tags- The tags for the CIS scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CreateCisScanConfigurationRequest.Builder targets(Consumer<CreateCisTargets.Builder> targets) The targets for the CIS scan configuration.
This is a convenience method that creates an instance of theCreateCisTargets.Builderavoiding the need to create one manually viaCreateCisTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(CreateCisTargets).- Parameters:
targets- a consumer that will call methods onCreateCisTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCisScanConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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
CreateCisScanConfigurationRequest.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.
-