public StartOnDemandAuditTaskRequest withTargetCheckNames(java.util.Collection<String> targetCheckNames) {
        setTargetCheckNames(targetCheckNames);
        return this;
    }
<p>
Which checks are performed during the audit. The checks you specify must be enabled for your account or an
exception occurs. Use <code>DescribeAccountAuditConfiguration</code> to see the list of all checks, including
those that are enabled or <code>UpdateAccountAuditConfiguration</code> to select which checks are enabled.
</p>

@param targetCheckNames
       Which checks are performed during the audit. The checks you specify must be enabled for your account or an
       exception occurs. Use <code>DescribeAccountAuditConfiguration</code> to see the list of all checks,
       including those that are enabled or <code>UpdateAccountAuditConfiguration</code> to select which checks
       are enabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/StartOnDemandAuditTaskRequest.java