Interface CreateCisScanConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCisScanConfigurationRequest.Builder,CreateCisScanConfigurationRequest>,Inspector2Request.Builder,SdkBuilder<CreateCisScanConfigurationRequest.Builder,CreateCisScanConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCisScanConfigurationRequest
public static interface CreateCisScanConfigurationRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<CreateCisScanConfigurationRequest.Builder,CreateCisScanConfigurationRequest>
-
-
Method Summary
-
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 Detail
-
scanName
CreateCisScanConfigurationRequest.Builder scanName(String 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
CreateCisScanConfigurationRequest.Builder schedule(Schedule 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
default CreateCisScanConfigurationRequest.Builder schedule(Consumer<Schedule.Builder> 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:
schedule(Schedule)
-
securityLevel
CreateCisScanConfigurationRequest.Builder securityLevel(String 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:
CisSecurityLevel,CisSecurityLevel
-
securityLevel
CreateCisScanConfigurationRequest.Builder securityLevel(CisSecurityLevel 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:
CisSecurityLevel,CisSecurityLevel
-
tags
CreateCisScanConfigurationRequest.Builder tags(Map<String,String> 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
CreateCisScanConfigurationRequest.Builder targets(CreateCisTargets 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:
targets(CreateCisTargets)
-
overrideConfiguration
CreateCisScanConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCisScanConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-