public CreateAssociationRequest withComplianceSeverity(AssociationComplianceSeverity complianceSeverity) {
        this.complianceSeverity = complianceSeverity.toString();
        return this;
    }
<p>
The severity level to assign to the association.
</p>

@param complianceSeverity
       The severity level to assign to the association.
@return Returns a reference to this object so that method calls can be chained together.
@see AssociationComplianceSeverity
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CreateAssociationRequest.java