Interface CisScan.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CisScan.Builder,CisScan>,SdkBuilder<CisScan.Builder,CisScan>,SdkPojo
- Enclosing class:
- CisScan
public static interface CisScan.Builder extends SdkPojo, CopyableBuilder<CisScan.Builder,CisScan>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CisScan.BuilderfailedChecks(Integer failedChecks)The CIS scan's failed checks.CisScan.BuilderscanArn(String scanArn)The CIS scan's ARN.CisScan.BuilderscanConfigurationArn(String scanConfigurationArn)The CIS scan's configuration ARN.CisScan.BuilderscanDate(Instant scanDate)The CIS scan's date.CisScan.BuilderscanName(String scanName)The the name of the scan configuration that's associated with this scan.CisScan.BuilderscheduledBy(String scheduledBy)The account or organization that schedules the CIS scan.CisScan.BuildersecurityLevel(String securityLevel)The security level for the CIS scan.CisScan.BuildersecurityLevel(CisSecurityLevel securityLevel)The security level for the CIS scan.CisScan.Builderstatus(String status)The CIS scan's status.CisScan.Builderstatus(CisScanStatus status)The CIS scan's status.default CisScan.Buildertargets(Consumer<CisTargets.Builder> targets)The CIS scan's targets.CisScan.Buildertargets(CisTargets targets)The CIS scan's targets.CisScan.BuildertotalChecks(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, sdkFields
-
-
-
-
Method Detail
-
failedChecks
CisScan.Builder failedChecks(Integer 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
CisScan.Builder scanArn(String 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
CisScan.Builder scanConfigurationArn(String 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
CisScan.Builder scanDate(Instant 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
CisScan.Builder scanName(String 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
CisScan.Builder scheduledBy(String 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
CisScan.Builder securityLevel(String 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:
CisSecurityLevel,CisSecurityLevel
-
securityLevel
CisScan.Builder securityLevel(CisSecurityLevel 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:
CisSecurityLevel,CisSecurityLevel
-
status
CisScan.Builder status(String 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:
CisScanStatus,CisScanStatus
-
status
CisScan.Builder status(CisScanStatus 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:
CisScanStatus,CisScanStatus
-
targets
CisScan.Builder targets(CisTargets 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
default CisScan.Builder targets(Consumer<CisTargets.Builder> targets)
The CIS scan's targets.
This is a convenience method that creates an instance of theCisTargets.Builderavoiding the need to create one manually viaCisTargets.builder().When the
Consumercompletes,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:
targets(CisTargets)
-
totalChecks
CisScan.Builder totalChecks(Integer 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.
-
-