public ExternalEvaluation withComplianceType(ComplianceType complianceType) {
        this.complianceType = complianceType.toString();
        return this;
    }
<p>
The compliance of the Amazon Web Services resource. The valid values are <code>COMPLIANT, NON_COMPLIANT, </code>
and <code>NOT_APPLICABLE</code>.
</p>

@param complianceType
       The compliance of the Amazon Web Services resource. The valid values are
       <code>COMPLIANT, NON_COMPLIANT, </code> and <code>NOT_APPLICABLE</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ComplianceType
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ExternalEvaluation.java