Interface CisScanConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CisScanConfiguration.Builder,
,CisScanConfiguration> SdkBuilder<CisScanConfiguration.Builder,
,CisScanConfiguration> SdkPojo
- Enclosing class:
CisScanConfiguration
public static interface CisScanConfiguration.Builder
extends SdkPojo, CopyableBuilder<CisScanConfiguration.Builder,CisScanConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe CIS scan configuration's owner ID.scanConfigurationArn
(String scanConfigurationArn) The CIS scan configuration's scan configuration ARN.The name of the CIS scan configuration.default CisScanConfiguration.Builder
schedule
(Consumer<Schedule.Builder> schedule) The CIS scan configuration's schedule.The CIS scan configuration's schedule.securityLevel
(String securityLevel) The CIS scan configuration's security level.securityLevel
(CisSecurityLevel securityLevel) The CIS scan configuration's security level.The CIS scan configuration's tags.default CisScanConfiguration.Builder
targets
(Consumer<CisTargets.Builder> targets) The CIS scan configuration's targets.targets
(CisTargets targets) The CIS scan configuration's targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
ownerId
The CIS scan configuration's owner ID.
- Parameters:
ownerId
- The CIS scan configuration's owner ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanConfigurationArn
The CIS scan configuration's scan configuration ARN.
- Parameters:
scanConfigurationArn
- The CIS scan configuration's scan configuration ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanName
The name of the CIS scan configuration.
- Parameters:
scanName
- The name of the CIS scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The CIS scan configuration's schedule.
- Parameters:
schedule
- The CIS scan configuration's schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The CIS scan configuration's schedule.
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 CIS scan configuration's security level.
- Parameters:
securityLevel
- The CIS scan configuration's security level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityLevel
The CIS scan configuration's security level.
- Parameters:
securityLevel
- The CIS scan configuration's security level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The CIS scan configuration's tags.
- Parameters:
tags
- The CIS scan configuration's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The CIS scan configuration's targets.
- Parameters:
targets
- The CIS scan configuration's targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The CIS scan configuration's targets.
This is a convenience method that creates an instance of theCisTargets.Builder
avoiding the need to create one manually viaCisTargets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(CisTargets)
.- Parameters:
targets
- a consumer that will call methods onCisTargets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-