public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
<p>
An error message describing the reason for the failure.
</p>

@param errorMessage
       An error message describing the reason for the failure.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/VpcEndpointErrorDetail.java