Interface CisScan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CisScan.Builder,
,CisScan> SdkBuilder<CisScan.Builder,
,CisScan> SdkPojo
- Enclosing class:
CisScan
@Mutable
@NotThreadSafe
public static interface CisScan.Builder
extends SdkPojo, CopyableBuilder<CisScan.Builder,CisScan>
-
Method Summary
Modifier and TypeMethodDescriptionfailedChecks
(Integer failedChecks) The CIS scan's failed checks.The CIS scan's ARN.scanConfigurationArn
(String scanConfigurationArn) The CIS scan's configuration ARN.The CIS scan's date.The the name of the scan configuration that's associated with this scan.scheduledBy
(String scheduledBy) The account or organization that schedules the CIS scan.securityLevel
(String securityLevel) The security level for the CIS scan.securityLevel
(CisSecurityLevel securityLevel) The security level for the CIS scan.The CIS scan's status.status
(CisScanStatus status) The CIS scan's status.default CisScan.Builder
targets
(Consumer<CisTargets.Builder> targets) The CIS scan's targets.targets
(CisTargets targets) The CIS scan's targets.totalChecks
(Integer totalChecks) The CIS scan's total checks.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, sdkFieldNameToField, sdkFields
-
Method Details
-
failedChecks
The CIS scan's failed checks.
- Parameters:
failedChecks
- The CIS scan's failed checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanArn
The CIS scan's ARN.
- Parameters:
scanArn
- The CIS scan's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanConfigurationArn
The CIS scan's configuration ARN.
- Parameters:
scanConfigurationArn
- The CIS scan's configuration ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanDate
The CIS scan's date.
- Parameters:
scanDate
- The CIS scan's date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanName
The the name of the scan configuration that's associated with this scan.
- Parameters:
scanName
- The the name of the scan configuration that's associated with this scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledBy
The account or organization that schedules the CIS scan.
- Parameters:
scheduledBy
- The account or organization that schedules the CIS scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityLevel
The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
- Parameters:
securityLevel
- The security level for the CIS scan. 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. Security level refers to the Benchmark levels that CIS assigns to a profile.
- Parameters:
securityLevel
- The security level for the CIS scan. 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:
-
status
The CIS scan's status.
- Parameters:
status
- The CIS scan's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The CIS scan's status.
- Parameters:
status
- The CIS scan's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
The CIS scan's targets.
- Parameters:
targets
- The CIS scan's targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The CIS scan'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:
-
totalChecks
The CIS scan's total checks.
- Parameters:
totalChecks
- The CIS scan's total checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-