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
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
-
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.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:
-
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.Builderavoiding the need to create one manually viaUpdateCisTargets.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-