public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
<p>
Displays error messages if validation encounters problems during validation of the resource policy.
</p>

@param errorMessage
       Displays error messages if validation encounters problems during validation of the resource policy.
aws-java-sdk-secretsmanager/src/main/java/com/amazonaws/services/secretsmanager/model/ValidationErrorsEntry.java