public InternalServerErrorException withErrorDetails(java.util.Collection<ErrorDetail> errorDetails) {
        setErrorDetails(errorDetails);
        return this;
    }
Details about the error.

@param errorDetails
       Details about the error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/InternalServerErrorException.java