Interface UpdateCisScanConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCisScanConfigurationRequest.Builder,UpdateCisScanConfigurationRequest>,Inspector2Request.Builder,SdkBuilder<UpdateCisScanConfigurationRequest.Builder,UpdateCisScanConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCisScanConfigurationRequest
public static interface UpdateCisScanConfigurationRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<UpdateCisScanConfigurationRequest.Builder,UpdateCisScanConfigurationRequest>
-
-
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
-
scanConfigurationArn
UpdateCisScanConfigurationRequest.Builder scanConfigurationArn(String 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
UpdateCisScanConfigurationRequest.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
UpdateCisScanConfigurationRequest.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 UpdateCisScanConfigurationRequest.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
UpdateCisScanConfigurationRequest.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
UpdateCisScanConfigurationRequest.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
-
targets
UpdateCisScanConfigurationRequest.Builder targets(UpdateCisTargets 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:
targets(UpdateCisTargets)
-
overrideConfiguration
UpdateCisScanConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCisScanConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-