Interface StartOnDemandAuditTaskRequest.Builder

    • Method Detail

      • targetCheckNames

        StartOnDemandAuditTaskRequest.Builder targetCheckNames​(Collection<String> targetCheckNames)

        Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.

        Parameters:
        targetCheckNames - Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetCheckNames

        StartOnDemandAuditTaskRequest.Builder targetCheckNames​(String... targetCheckNames)

        Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.

        Parameters:
        targetCheckNames - Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.