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 Details

    • 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:
    • 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:
    • 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:
    • 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

      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 the CisTargets.Builder avoiding the need to create one manually via CisTargets.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(CisTargets).

      Parameters:
      targets - a consumer that will call methods on CisTargets.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.