public void setErrorDetails(ErrorDetails errorDetails) {
        this.errorDetails = errorDetails;
    }
<p>
Additional information if the package is in an error state. Null otherwise.
</p>

@param errorDetails
       Additional information if the package is in an error state. Null otherwise.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/PackageDetails.java